Created
April 28, 2016 19:12
-
-
Save DeastinY/de16b83340f0fda9e8224550b2908b8f 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
#!/usr/bin/python | |
# -*- coding: latin-1 -*- | |
#:kivy 1.9.0 | |
#:import NavigationDrawer kivy.garden.navigationdrawer | |
#:import RandChar chargen.randchar | |
<WrapLabel@Label>: | |
text_size: self.size | |
<SidePanel@GridLayout>: | |
cols: 1 | |
rows: 3 | |
Button: | |
text: "Generate" | |
height: 70 | |
size_hint_y:None | |
Button: | |
text: "Database" | |
height: 70 | |
size_hint_y:None | |
Label: | |
text: "text" | |
text_size: self.size | |
font_size: 25 | |
valign: 'top' | |
halign: 'left' | |
padding: (5,5) | |
<TopBar@GridLayout>: | |
cols: 2 | |
rows: 1 | |
height: 50 | |
size_hint_y: None | |
padding: [10,0,10,0] | |
Button: | |
text: "Menu" | |
on_press: nav.toggle_drawer() | |
width: 50 | |
size_hint_x: None | |
Label: | |
text: "Roll your NPC" | |
font_size: 30 | |
italic: True | |
<MainPanel@GridLayout>: | |
cols: 1 | |
rows: 2 | |
padding: [0,10,0,0] | |
TopBar: | |
RandChar: | |
NavigationDrawer: | |
id: nav | |
anim_type: 'slide_above_anim' | |
SidePanel: | |
MainPanel: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment