-
Notifications
You must be signed in to change notification settings - Fork 0
/
BSKivy.kv
71 lines (62 loc) · 1.67 KB
/
BSKivy.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
#: import ListItemLabel kivy.uix.listview.ListItemLabel
#: import ListAdapter kivy.adapters.listadapter.ListAdapter
<PlayerRecord>:
id: myplayer
size_hint_y: None
height: '30dp'
width: '100dp'
canvas.before:
Color:
rgb: 0.2, 0.2, 0.2
Rectangle:
pos: self.pos
size: self.size
<TableHeader>:
id: myheader
size_hint_y: None
height: '30dp'
width: '100dp'
canvas.before:
Color:
rgb: 0.5, 0.5, 0.5
Rectangle:
pos: self.pos
size: self.size
BSdemoRoot:
<BSdemoRoot>:
BSdemoForm
<BSdemoForm>
orientation: "vertical"
mygridwid_widget: mygridwid
#device_data: device_data_results
BoxLayout:
orientation: "vertical"
BoxLayout:
Label:
text: "BS Demo Interface and GUI"
BoxLayout:
Label:
text: "Current Time"
size_hint_x: 1
Label:
id: app_runtime_label
text: root.bsdemo_currenttime
size_hint_x: 1
Switch:
id: startbutton
# text: "Start / Stop"
# size_hint_x: 1
on_active: root.get_apptime(self, self.active, mygridwid)
# ; app.root.MyGrid.display_data(self)
ScrollView:
size_hint_y: None
height: '200dp'
MyGrid:
id: mygridwid
cols: 3
size_hint_y: None
height: self.minimum_height
spacing: '1dp'
BoxLayout:
Label:
text: "replace with a button"