Created
January 13, 2017 10:35
-
-
Save cruor99/c6bcfefca13af1ba28b1d12709caf48f to your computer and use it in GitHub Desktop.
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.uix.anchorlayout import AnchorLayout | |
from kivy.uix.button import Button | |
from kivy.app import App | |
class TestApp(App): | |
def build(self): | |
layout = AnchorLayout(anchor_x="right", anchor_y="bottom") | |
btn = Button(text="Hello World", size_hint=(None, None)) | |
layout.add_widget(btn) | |
return layout | |
if __name__ == "__main__": | |
TestApp().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment