-
Notifications
You must be signed in to change notification settings - Fork 23
/
settingsview.kv
49 lines (43 loc) · 1.18 KB
/
settingsview.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
#:kivy 1.9.1
<SettingsView>:
BoxLayout:
rcid: 'fieldContainer'
orientation: 'vertical'
BoxLayout:
orientation: 'horizontal'
spacing: 5
FieldLabel:
size_hint: (0.65, 1.0)
rcid: 'fieldLabel'
halign: 'right'
font_size: sp(24)
text: ''
BoxLayout:
size_hint: (0.35, 1.0)
padding: [0, 10, 0, 10]
orientation: 'vertical'
halign: 'left'
spacing: 5
AnchorLayout:
padding: [10,0]
rcid: 'control'
TextWidget:
rcid: 'helpLabel'
halign: 'left'
text: ''
color: [0.6, 0.6, 0.6, 1.0]
<SettingsMappedSpinner>:
rcid: 'settingsCtrl'
on_text: root.on_text(*args)
<SettingsSwitch>:
rcid: 'settingsCtrl'
on_active: root.on_switch_active(args[1])
<SettingsButton>:
rcid: 'settingsCtrl'
size_hint: (None, None)
size: (dp(80), dp(40))
on_release: root.on_button_active(*args)
<SettingsTextField>:
rcid: 'settingsCtrl'
size_hint: (1.0, 0.3)
on_text: root.on_text(*args)