Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 2.65 KB | None | 0 0
  1. <HeaderGridLayout@GridLayout>:
  2.     canvas.before:
  3.         Color:
  4.             rgba: 0, 0, 0, 1
  5.         Line:
  6.             width: 2
  7.             rectangle: self.x, self.y, self.width, self.height
  8.  
  9.  
  10. <ArmControllerView>:
  11.     canvas.before:
  12.         Color:
  13.             rgba:41 / 255.0, 128 / 255.0, 185 / 255.0, 1.0
  14.         Rectangle:
  15.             pos: self.pos
  16.             size: self.size
  17.     ActionBar:
  18.         ActionView:
  19.             ActionPrevious:
  20.                 title: '[b]Robotic Arm Controller[/b]'
  21.                 markup:True
  22.                 with_previous: False
  23.  
  24.  
  25.     StackLayout:
  26.         border: (10,10,10,10)
  27.         margin: 2
  28.         orientation:'lr-tb'
  29.         padding: dp(15)
  30.         spacing: dp(5)
  31.         HeaderGridLayout:
  32.             size_hint: .25, .5
  33.             cols:1
  34.             rows:2
  35.             ActionBar:
  36.                 ActionView:
  37.                     ActionPrevious:
  38.                         title: '[b]Manual control[/b]'
  39.                         markup:True
  40.                         with_previous: False
  41.             GridLayout:
  42.                 cols:3
  43.                 rows:3
  44.                 spacing: dp(10)
  45.                 padding: dp(15)
  46.                 JoystickX:
  47.                     label:'X'
  48.                 JoystickY:
  49.                     label:'Y'
  50.                 JoystickY:
  51.                     label:'Z'
  52.                 JoystickX:
  53.                     label:'PAN'
  54.                 JoystickY:
  55.                     label:'TILT'
  56.                 JoystickX:
  57.                     label:'ROLL'
  58.                 JoystickY:
  59.                     label:'ZOOM'
  60.                 JoystickX:
  61.                     label:'IRIS'
  62.                 JoystickY:
  63.                     label:'FOCUS'
  64.         HeaderGridLayout:
  65.             size_hint: .5, .5
  66.             cols:1
  67.             rows:1
  68.             ActionBar:
  69.                 ActionView:
  70.                     ActionPrevious:
  71.                         title: '[b]Live View[/b]'
  72.                         markup:True
  73.                         with_previous: False
  74.         HeaderGridLayout:
  75.             size_hint: .25, .5
  76.             cols:1
  77.             rows:1
  78.             ActionBar:
  79.                 ActionView:
  80.                     ActionPrevious:
  81.                         title: '[b]3D View[/b]'
  82.                         markup:True
  83.                         with_previous: False
  84.  
  85.         HeaderGridLayout:
  86.             size_hint: 1.0, .5
  87.             cols:1
  88.             rows:1
  89.             ActionBar:
  90.                 ActionView:
  91.                     ActionPrevious:
  92.                         title: '[b]Graph[/b]'
  93.                         markup:True
  94.                         with_previous: False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement