commiting in case the kivy trial fails
This commit is contained in:
28
freechat-client/share/kivy-examples/container/kv/1.kv
Normal file
28
freechat-client/share/kivy-examples/container/kv/1.kv
Normal file
@@ -0,0 +1,28 @@
|
||||
#: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')
|
||||
28
freechat-client/share/kivy-examples/container/kv/2.kv
Normal file
28
freechat-client/share/kivy-examples/container/kv/2.kv
Normal file
@@ -0,0 +1,28 @@
|
||||
#: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-2'
|
||||
|
||||
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('3')
|
||||
28
freechat-client/share/kivy-examples/container/kv/3.kv
Normal file
28
freechat-client/share/kivy-examples/container/kv/3.kv
Normal file
@@ -0,0 +1,28 @@
|
||||
#: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-3'
|
||||
|
||||
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('1')
|
||||
32
freechat-client/share/kivy-examples/container/kv/root.kv
Normal file
32
freechat-client/share/kivy-examples/container/kv/root.kv
Normal file
@@ -0,0 +1,32 @@
|
||||
#:kivy 1.8.0
|
||||
|
||||
RootWidget:
|
||||
# import container
|
||||
container: container
|
||||
|
||||
BoxLayout:
|
||||
orientation: 'vertical'
|
||||
padding: 0
|
||||
spacing: 6
|
||||
|
||||
# bottom-left part:
|
||||
BoxLayout:
|
||||
orientation: 'horizontal'
|
||||
padding: 0
|
||||
spacing: 6
|
||||
|
||||
# bottom-left
|
||||
BoxLayout:
|
||||
size_hint: 0.12, 0.12
|
||||
orientation: 'vertical'
|
||||
padding: 0
|
||||
spacing: 6
|
||||
|
||||
# option calibrate
|
||||
Button:
|
||||
text: 'Start'
|
||||
on_release: app.next_screen('1')
|
||||
|
||||
# create container (bottom-right)
|
||||
BoxLayout:
|
||||
id: container
|
||||
Reference in New Issue
Block a user