Initial GUI-Development progress - 2022-02-26-17:00
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
MDScreen:
|
||||
name: "Config"
|
||||
md_bg_color: (0,0,1,0.5)
|
||||
md_bg_color: (0,0,1,0.3)
|
||||
MDFloatLayout:
|
||||
cols:1
|
||||
MDFlatButton:
|
||||
text: "Back"
|
||||
pos_hint: {"x": 0.15, "y": 0.1}
|
||||
pos_hint: {"x": 0.07, "y": 0.07}
|
||||
font_size: 20
|
||||
md_bg_color: (0, 0, 0, 1)
|
||||
size_hint: 0.1, 0.05
|
||||
on_release:
|
||||
app.root.current = "HomeScreen"
|
||||
root.manager.transition.direction = "left"
|
||||
MDFlatButton:
|
||||
text: "Test"
|
||||
MDTextField:
|
||||
hint_text: "Test"
|
||||
id: test
|
||||
size_hint: 0.2, 0.1
|
||||
pos_hint: {"x": 0.4, "y": 0.2}
|
||||
MDCheckbox:
|
||||
size_hint: 0.05, 0.05
|
||||
size: "24dp", "24dp"
|
||||
@@ -25,7 +25,8 @@ Home:
|
||||
text: "Settings"
|
||||
background_color: (0.1, 0.1, 1, 0.5)
|
||||
on_release:
|
||||
root.test()
|
||||
app.root.current = "Settings"
|
||||
root.manager.transition.direction = "up"
|
||||
Button:
|
||||
text: "Quit"
|
||||
background_color: (0.1, 0.1, 1, 0.5)
|
||||
|
||||
0
gui_main/settings.kv
Normal file
0
gui_main/settings.kv
Normal file
@@ -24,8 +24,7 @@ class Splash(MDScreen):
|
||||
|
||||
|
||||
class Home(MDScreen):
|
||||
def test(self):
|
||||
print("class")
|
||||
pass
|
||||
|
||||
|
||||
class ConfigureScreen(MDScreen):
|
||||
|
||||
Reference in New Issue
Block a user