-
Notifications
You must be signed in to change notification settings - Fork 10
/
iosdumpui.kv
106 lines (93 loc) · 1.85 KB
/
iosdumpui.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
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
#:kivy 1.8.0
<ButtonListItem@Button>:
wid: self.wid
image: self.image
title: self.title
label: self.label
on_press: self.click()
BoxLayout:
orientation: "horizontal"
size: self.parent.size # match the button's size
pos: self.parent.pos # match the button's position
padding: 5
spacing: 10
Image:
size_hint: None, 1
source: root.image
size: 64, 64
valign: "middle"
Label:
size_hint: None, 1
text: root.label
valign: "middle"
size: 400, 64
text_size: self.size
<DisplayListItem@Button>:
wid: self.wid
image: self.image
title: self.title
label: self.label
on_press: self.click()
background_color: (0,0,0,0)
BoxLayout:
orientation: "horizontal"
size: self.parent.size # match the button's size
pos: self.parent.pos # match the button's position
padding: 5
spacing: 10
Image:
size_hint: None, None
source: root.image
size: 16, 16
valign: "middle"
Label:
size_hint: None, None
text: root.label
valign: "middle"
size: 400, 16
text_size: self.size
<ButtonList@GridLayout>
id: output
cols: 1
size_hint_y: None
height: self.minimum_height
<Detail@Screen>
image: self.image
label: self.label
GridLayout:
cols: 1
size_hint_y: None
size: self.parent.size
ButtonListItem:
wid: 'details'
size_hint: 1, None
height: 78
image: root.image
label: root.label
ScrollView:
enabled: False
size_hint: 1, None
height: 330
GridLayout:
id: display
cols: 1
width: self.parent.width
height: 34
size_hint_y:None
#padding: 10
DisplayListItem:
label: "Ready!"
BoxLayout:
Button:
id: "back"
text: "< Back"
height: 25
on_press:
app.screen.transition.direction = 'right'
app.screen.current = "select"
Button:
id: "dump"
text: "Dump!!!"
height: 25
on_press:
app.dumpData()