Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. <DatabaseScreen>:
  2. name: 'database'
  3. on_pre_enter: root.load_buttons()
  4. on_leave: root.clear()
  5. ScrollView:
  6. bar_color: [0,0,0.8,1]
  7. scroll_timeout: 105 #105ms TREBA DA BI MOGO COVEK KLIKNUT
  8. GridLayout:
  9. pos_hint: {'center_x': 0.5, 'center_y': 0.6}
  10. padding:[10,10]
  11. spacing: 7
  12. cols: 1
  13. height: self.minimum_height
  14. orientation: 'vertical'
  15. id: database_anchor
  16. Button:
  17. size:'100sp', '50sp'
  18. spacing: 7
  19. size_hint:None,None
  20. pos_hint: {'center_x': 0.85, 'center_y':0.1}
  21. text: 'Back'
  22. font_size: '20sp'
  23. on_press: root.manager.transition.direction = 'right'
  24. on_release: app.root.current = 'main'
  25.  
  26. GridLayout:
  27. padding:[10,0]
  28. pos_hint: {'center_x': 0.5, 'center_y': 0.6}
  29. center_x: self.parent.center_x
  30. center_y: self.parent.center_y
  31. cols: 1
  32. height: self.minimum_height
  33. spacing: 7
  34. # size: self.size
  35. size_hint: 1, None
  36. width: self.width
  37. id: GLDatabase
  38. orientation: 'vertical'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement