-
Notifications
You must be signed in to change notification settings - Fork 7
/
my.kv
50 lines (43 loc) · 1.52 KB
/
my.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
<Interface>:
search : search
FloatLayout:
cols:4
row:2
id: floatlayout
BoxLayout:
orientation: 'horizontal'
pos_hint: {'left': 1}
TextInput:
pos_hint: {'left': 1}
size_hint: 0.7, 0.1
id: search
multiline: False
font_size: (root.width**2 + root.height**2) / 14**4
Button:
pos_hint: {'right': 1}
size_hint: 0.2, 0.1
font_size: (root.width**2 + root.height**2) / 13**4
text: "Search"
on_release:
root.find()
ScrollView:
size_hint: 1, 0.76
pos: (0,100)
GridLayout:
id: gridlayout
size_hint_y:None
size: root.width * 1, root.height * 1
row_default_height: 120
row_force_default: True
cols: 2
FloatLayout:
id : label_widget
Label:
text: 'images number :'
pos_hint: {'right':0.84,'top': 0.65}
Label:
text: 'execution time :'
pos_hint: {'right': 0.58,'top': 0.65}
Label:
text: 'total images number :'
pos_hint: {'right': 1.2,'top': 0.65}