Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <DatabaseScreen>:
- name: 'database'
- on_pre_enter: root.load_buttons()
- on_leave: root.clear()
- ScrollView:
- bar_color: [0,0,0.8,1]
- scroll_timeout: 105 #105ms TREBA DA BI MOGO COVEK KLIKNUT
- GridLayout:
- pos_hint: {'center_x': 0.5, 'center_y': 0.6}
- padding:[10,10]
- spacing: 7
- cols: 1
- height: self.minimum_height
- orientation: 'vertical'
- id: database_anchor
- Button:
- size:'100sp', '50sp'
- spacing: 7
- size_hint:None,None
- pos_hint: {'center_x': 0.85, 'center_y':0.1}
- text: 'Back'
- font_size: '20sp'
- on_press: root.manager.transition.direction = 'right'
- on_release: app.root.current = 'main'
- GridLayout:
- padding:[10,0]
- pos_hint: {'center_x': 0.5, 'center_y': 0.6}
- center_x: self.parent.center_x
- center_y: self.parent.center_y
- cols: 1
- height: self.minimum_height
- spacing: 7
- # size: self.size
- size_hint: 1, None
- width: self.width
- id: GLDatabase
- orientation: 'vertical'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement