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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
#:import TileDecorationRoundedBorder tagit.tiles.decoration.TileDecorationRoundedBorder
#:import TileDecorationBorder tagit.tiles.decoration.TileDecorationBorder
#:import TileDecorationFilledRectangle tagit.tiles.decoration.TileDecorationFilledRectangle
<HGuide@Widget>:
<MainWindow>:
# main content
# required by most tiles and actions
browser: browser
filter: filter
status: status
# required by Menu
context: context
BoxLayout:
orientation: 'vertical'
Widget:
height: 5
size_hint: 1, None
Filter:
id: filter
root: root
size_hint: 1, None
height: 40
HGuide:
height: 20
size_hint: 1, None
Widget: # spacer
height: 20
size_hint: 1, None
BoxLayout:
orientation: 'horizontal'
ButtonDock: # one column of buttons on the left
root: root
orientation: 'lr-tb'
# one column of buttons
width: 1*30 + 2*10
name: 'sidebar_left'
spacing: 10
padding: 10
size_hint: None, None
button_height: 30
button_show: 'image',
# adjust height automatically to content
height: self.minimum_height
pos_hint: {'center_y': 0.5}
Widget: # spacer
width: 20 # ButtonDock already has a space of 10px
size_hint: None, 1
Browser: # browsing space
id: browser
root: root
size_hint: 1, 1
Widget: # spacer
width: 30
size_hint: None, 1
TileDock: # context info to the right
root: root
name: 'sidebar_right'
decoration: TileDecorationRoundedBorder
visible: True
cols: 1
rows: 1
width: 220
size_hint: None, 0.5
pos_hint: {'center_y': 0.5}
Widget: # spacer
height: 20
size_hint: 1, None
HGuide:
height: 20
size_hint: 1, None
Status:
id: status
root: root
size_hint: 1, None
height: 30
Context: # context menu
id: context
root: root
cancel_handler_widget: root
bounding_box_widget: root
name: 'context'
KeybindDock:
# key-only actions
root: root
size_hint: None, None
size: 0, 0
## EOF ##
|