test-kivy-app/kivy_venv/share/kivy-examples/container/kv/1.kv

29 lines
602 B
Plaintext
Raw Normal View History

2024-09-15 12:12:16 +00:00
#:kivy 1.8.0
#:import datetime datetime
RootWidget:
# import container
container: container
# fill the container
BoxLayout:
id: container
orientation: 'vertical'
padding: 0
spacing: 3
Label:
text: 'screen-1'
BoxLayout:
orientation: 'horizontal'
padding: 0
spacing: 1
size_hint: 1, 0.1
# weiter button
Button:
size_hint: 0.2, 1
text: 'next'
on_release: app.next_screen('2')