freechat/freechat-client/share/kivy-examples/demo/showcase/data/screens/switches.kv
2020-03-16 19:36:10 -07:00

40 lines
706 B
Plaintext

ShowcaseScreen:
name: 'Switches'
BoxLayout:
size_hint_y: None
height: '48dp'
Label:
text: 'Switch normal'
Switch:
BoxLayout:
size_hint_y: None
height: '48dp'
Label:
text: 'Switch active'
Switch:
active: True
BoxLayout:
size_hint_y: None
height: '48dp'
Label:
text: 'Switch off & disabled'
Switch:
disabled: True
active: False
BoxLayout:
size_hint_y: None
height: '48dp'
Label:
text: 'Switch on & disabled'
Switch:
disabled: True
active: True