Created
July 28, 2020 07:05
-
-
Save tshirtman/be6213f3e95c4d1d8637b2a05b5109a2 to your computer and use it in GitHub Desktop.
horizontal scrolling label
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.factory import Factory | |
KV = ''' | |
ScrollView: | |
Label: | |
text: "SUPERCALIFRAGILISTICEXPIALIDOCIOUS" | |
size_hint_x: None | |
font_size: 500 | |
width: self.texture_size[0] | |
''' | |
class Application(App): | |
def build(self): | |
return Builder.load_string(KV) | |
if __name__ == "__main__": | |
Application().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment