-
Notifications
You must be signed in to change notification settings - Fork 0
/
BeakoStats.kv
64 lines (57 loc) · 1.63 KB
/
BeakoStats.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
#:kivy 2.1.0
<Row@RecycleKVIDsDataViewBehavior+BoxLayout>:
canvas.before:
Color:
rgba: 0.5, 0.5, 0.5, 1
Rectangle:
size: self.size
pos: self.pos
value: ''
Label:
id: name
Label:
text: root.value
<BeakoStats>:
stats: rv
namespaces: rv1
GridLayout:
cols: 2
rows: 2
height: root.height
spacing: dp(5)
Label:
font_size: 30
center_x: root.width / 4
top: root.top - 25
text: str(root.servers)
Label:
font_size: 30
center_x: root.width * 3 / 4
top: root.top - 25
text: str(root.members)
RecycleView:
id: rv
scroll_type: ['bars', 'content']
scroll_wheel_distance: dp(114)
bar_width: dp(10)
viewclass: 'Row'
RecycleBoxLayout:
default_size: None, dp(56)
default_size_hint: 1, None
size_hint_y: None
height: self.minimum_height
orientation: 'vertical'
spacing: dp(2)
RecycleView:
id: rv1
scroll_type: ['bars', 'content']
scroll_wheel_distance: dp(114)
bar_width: dp(10)
viewclass: 'Row'
RecycleBoxLayout:
default_size: None, dp(56)
default_size_hint: 1, None
size_hint_y: None
height: self.minimum_height
orientation: 'vertical'
spacing: dp(2)