Created
October 17, 2018 22:26
-
-
Save inclement/fd2b4f5d59d156e0b37c8ec6a126a82e to your computer and use it in GitHub Desktop.
This file contains hidden or 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.lang import Builder | |
| from kivy.base import runTouchApp | |
| root = Builder.load_string(""" | |
| BoxLayout: | |
| id: main_view | |
| orientation: 'horizontal' | |
| Widget: | |
| id: sidebar | |
| size_hint_x: None | |
| width: dp(100) | |
| canvas: | |
| Color: | |
| rgba: 1, 0, 0, 1 | |
| Rectangle: | |
| pos: self.pos | |
| size: self.size | |
| Widget: | |
| id: play_view | |
| size_hint_x: None | |
| canvas: | |
| Color: | |
| rgba: 0, 1, 0, 1 | |
| Rectangle: | |
| pos: self.pos | |
| size: self.size | |
| """) | |
| runTouchApp(root) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment