forked from ryandoherty/RaceCapture_App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoolbarview.kv
71 lines (66 loc) · 1.61 KB
/
toolbarview.kv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<ToolbarView>:
orientation: 'horizontal'
BoxLayout:
padding: self.height * 0.5, 0
spacing: 0
size_hint_x: 0.1
orientation: 'horizontal'
IconButton:
background_color: [0.4, 0.05, 0.05, 1]
id: 'menu'
text: '\357\203\211'
on_release: root.mainMenu()
size_hint_x: None
width: self.height * 1
font_size: self.height
Button:
background_color: [0.4, 0.05, 0.05, 1]
background_down: ''
text: 'Menu'
size_hint_x: 0.0
width: self.height * 2.4
font_size: self.height * 0.8
on_release: root.mainMenu()
BoxLayout:
orientation: 'horizontal'
padding: self.height * 0.4, 0
size_hint_x: 0.38
FieldLabel:
halign: 'left'
text: ''
rcid: 'activity'
font_size: self.height * 0.6
BoxLayout:
orientation: 'horizontal'
padding: self.height * 0.4, 0
size_hint_x: 0.32
FieldLabel:
halign: 'right'
text: ''
rcid: 'status'
font_size: self.height * 0.6
BoxLayout:
orientation: 'horizontal'
size_hint_x: 0.2
spacing: self.height * 0.2
ProgressBar:
size_hint_x: 0.5
rcid: 'pbar'
IconButton:
rcid: 'teleStatus'
text: '\357\203\256'
size_hint_x: 0.125
color: [0.0, 1.0, 0.0, 0.2]
font_size: self.height * 0.7
IconButton:
rcid: 'rcTxStatus'
text: '\357\200\231'
size_hint_x: 0.125
color: [0.0, 1.0, 0.0, 0.2]
font_size: self.height * 0.7
IconButton:
rcid: 'rcRxStatus'
text: '\357\202\223'
size_hint_x: 0.125
color: [0.0, 0.8, 1.0, 0.2]
font_size: self.height * 0.7