blob: 0a680abe4f226d770d823ddc36d687f37bd9d65b (
plain)
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
|
#-- #:import ButtonDock tagit.widgets.dock.ButtonDock # FIXME: mb/port
<NavigationLabel@Label>:
markup: True
<StatusLabel@Label>:
markup: True
valign: 'middle'
halign: 'center'
<Status>:
orientation: 'horizontal'
status: ''
navigation: ''
status_label: status_label
navigation_label: navigation_label
ButtonDock:
root: root.root
orientation: 'lr-tb'
size_hint: None, 1
name: 'navigation_left'
# space for three buttons
width: 3*30 + 2*5
spacing: 5
button_height: 30
button_show: 'image',
NavigationLabel:
id: navigation_label
size_hint: None, 1
width: 180
text: root.navigation
ButtonDock:
root: root.root
size_hint: None, 1
orientation: 'lr-tb'
name: 'navigation_right'
# space for three buttons
width: 3*30 + 2*5
spacing: 5
button_height: 30
button_show: 'image',
StatusLabel:
# gets remaining size
id: status_label
text_size: self.size
text: root.status
ButtonDock:
root: root.root
orientation: 'lr-tb'
size_hint: None, 1
name: 'status'
# space for three buttons
width: 3*30 + 2*5
spacing: 5
button_height: 30
button_show: 'image',
## EOF ##
|