-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontroller.kv
69 lines (61 loc) · 1.59 KB
/
controller.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
#:kivy 1.0
<Controller>:
GridLayout:
id: maingrid
cols: 2
padding: 1
# row_default_height: 40
# row_force_default: True
GridLayout:
id: arrivals
cols: 1
HeaderButton:
on_press: root.do_add_click(1)
background_color: 0,.5,0,1
id: title_0
MyScrollView:
size_hint_y: 10
id: scroll_0
GridLayout:
cols: 1
HeaderButton:
on_press: root.do_add_click(0)
background_color: 1,.3,.3,1
id: title_1
MyScrollView:
size_hint_y: 10
id: scroll_1
GridLayout:
cols: 1
HeaderButton:
on_press: root.do_add_click(2)
background_color: .3,.3,1,1
id: title_2
MyScrollView:
size_hint_y: 10
id: scroll_2
GridLayout:
cols: 1
HeaderButton:
background_color: .3,.3,1,1
id: title_3
MyScrollView:
size_hint_y: 10
id: scroll_3
<HeaderButton@Button>:
width:300
#disabled: True
size_hint_y: 1
background_normal: ''
disabled_color: 1, 1, 1, 1
background_disabled_normal: self.background_normal
<MyScrollView@ScrollView>:
bar_width: 20
id: sv
GridLayout:
id: grid
cols: 1
size_hint_y: None
height: self.minimum_height
padding: 5
spacing: 5