Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. #: kivy 1.9.1
  2. #: import icon kivy.garden.iconfonts.icon
  3.  
  4.  
  5. <PropertyLayout>:
  6. rows: 15
  7. cols: 2
  8. spacing: 15
  9.  
  10. size_hint: 0.4,0.9
  11. pos_hint: {'center_x': .95, 'center_y': .5}
  12.  
  13. col_default_width: 160
  14. col_force_default: True
  15.  
  16. row_default_height: 40
  17. row_force_default: True
  18.  
  19. Label:
  20. size: self.texture_size
  21. text: ' ' + 'Properties'
  22. halign: 'center'
  23. valign: 'top'
  24. font_size: '20sp'
  25.  
  26. Label:
  27. text: ''
  28.  
  29.  
  30. <CanvasLayout>:
  31. canvas.before:
  32. Color:
  33. rgb: 1., 1., 1.,
  34. Rectangle:
  35. pos: self.pos
  36. size: self.size
  37.  
  38. <SettingsLayout>:
  39. rows: 20
  40. cols: 2
  41.  
  42.  
  43. Button:
  44. id: 100
  45. markup: True
  46. text: "%s" % (icon('flaticon-oval',size=32,font_name='flaticon'))
  47. on_release: self.parent.set_paintmode(100)
  48.  
  49.  
  50.  
  51.  
  52. <PhysicsGUI>:
  53.  
  54. orientation: 'vertical'
  55.  
  56.  
  57. FloatLayout:
  58.  
  59. SettingsLayout:
  60.  
  61. PropertyLayout:
  62.  
  63. TabbedPanel:
  64. size_hint: .6, .95
  65. pos_hint: {'center_x': .4, 'center_y': .5}
  66. do_default_tab: False
  67.  
  68. TabbedPanelItem:
  69. text: 'Sheet1'
  70. CanvasLayout:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement