Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #:kivy 1.10.0
- Root:
- #my_text_box: my_text_box
- my_name: my_name
- my_username: my_username
- my_password: my_password
- BoxLayout:
- orientation: 'vertical'
- BoxLayout:
- size: root.size
- pos: root.pos
- #size_hint_y: 0.3
- Label:
- text: 'Name:'
- TextInput:
- id: my_name
- text: ''
- multiline: False
- Label:
- text: 'Username:'
- #size_hint_y: 0.3
- TextInput:
- id: my_username
- text: ''
- multiline: False
- #size_hint_y: 0.3
- Label:
- text: 'Password:'
- #size_hint_y: 0.3
- TextInput:
- id: my_password
- text: ''
- password: True
- multiline: False
- #size_hint_y: 0.3
- BoxLayout:
- size_hint_y: None
- #height: 30
- Button:
- text: 'Create Account'
- on_press: root.save_to_database()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement