mirror of
https://github.com/janishutz/BiogasControllerApp.git
synced 2025-11-25 05:44:23 +00:00
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
<HomeScreen>:
|
|
name: "home"
|
|
GridLayout:
|
|
cols:1
|
|
MDLabel:
|
|
text: "BiogasanlageControllerApp"
|
|
font_size: 50
|
|
halign: 'center'
|
|
valign: 'center'
|
|
bold: True
|
|
italic: True
|
|
theme_text_color: 'Secondary'
|
|
FloatLayout:
|
|
GridLayout:
|
|
cols: 2
|
|
size_hint: 0.8, 0.8
|
|
pos_hint: {"x": 0.1, "y": 0.1}
|
|
MDRaisedButton:
|
|
style: "outlined"
|
|
on_release: root.start()
|
|
text: "Start"
|
|
font_size: 30
|
|
Button:
|
|
text: "Quit"
|
|
background_color: (0, 0, 0, 0.6)
|
|
font_size: 30
|
|
on_release:
|
|
root.quit()
|
|
MDLabel:
|
|
text: "You are running version V3.0.1"
|
|
font_size: 13
|
|
pos_hint: {"y": -0.45, "x":0}
|
|
halign: 'center'
|
|
Button:
|
|
text: "About"
|
|
font_size: 13
|
|
size_hint: 0.07, 0.06
|
|
pos_hint: {"x":0.01, "y":0.01}
|
|
background_color: (50, 0, 0, 0.2)
|
|
on_release:
|
|
root.to_about()
|