-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice_connection_dialog.kv
84 lines (76 loc) · 2.13 KB
/
device_connection_dialog.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
<DeviceConnectionDialog>:
radius: 20, 10, 20, 10
adaptive_height: True
<DialogContent>:
label: _label
status_container: _status_container
orientation: 'horizontal'
size_hint: (1, 1)
pos_hint: {'center_x': 0.5, 'center_y': 0.5}
adaptive_height: True
md_bg_color: app.theme_cls.bg_light
# md_bg_color: (0, 0, 1, 0.25)
radius: 15, 15, 15, 15
padding: 5, 5, 5, 5
MDLabel:
id: _label
size_hint: (0.8, None)
height: self.texture_size[1]
halign: 'left'
valign: 'middle'
pos_hint: {'left': 0, 'center_y': 0.5}
padding: dp(10), dp(5)
StatusContainer:
id: _status_container
size_hint: (0.2, 1)
pos_hint: {'right': 1, 'center_y': 0.5, 'center_x': 0.5}
<StatusSpinner>:
size_hint: (None, None)
pos_hint: {'center_x': 0.5, 'center_y': 0.5}
active: True
<SuccessIcon>:
size_hint: (None, None)
pos_hint: {'center_x': 0.5, 'center_y': 0.5}
_no_ripple_effect: True
theme_text_color: 'Custom'
text_color: 0, 1, 0, 1
icon: 'checkbox-marked-circle'
# icon: 'check-outline'
# icon: 'cellphone-check'
# icon: 'lan-check'
# icon: 'wifi-check'
# icon: 'swap-vertical'
# icon: 'remote'
# icon: 'pipe'
# icon: 'led-on'
# icon: 'leak'
# icon: 'globe-light-outline'
# icon: 'flashlight'
# icon: 'desk-lamp-on'
# icon: 'connection'
# icon: 'alarm-light'
overlay_color: (1, 1, 1, 0)
on_release: self.overlay_color_ = (0, 1, 0, 1)
<FailIcon>:
size_hint: (None, None)
pos_hint: {'center_x': 0.5, 'center_y': 0.5}
_no_ripple_effect: True
theme_text_color: 'Custom'
text_color: 0.5, 0, 0, 1
icon: 'close'
# icon: 'close-outline'
# icon: 'close-circle-outline'
# icon: 'window-close'
# icon: 'thumb-down'
# icon: 'thumb-down-outline'
# icon: 'sync-off'
# icon: 'skull-crossbones'
# icon: 'share-off'
# icon: 'remote-off'
# icon: 'pipe-disconnected'
# icon: 'minus-circle'
# icon: 'led-variant-off'
# icon: 'google-downasaur'
# icon: 'flashlight-off'
# icon: 'desk-lamp-off'
# icon: 'alarm-light-off'