Skip to content

Commit c9d7a5a

Browse files
committed
fix: move exit button to top left for setup menu
1 parent 7ffcde0 commit c9d7a5a

File tree

1 file changed

+35
-34
lines changed

1 file changed

+35
-34
lines changed
Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
11
<SetupScreen>:
2-
title: "Setup Menu"
3-
size_hint: 1, 1
4-
auto_dismiss: False
5-
GridLayout:
6-
spacing: 36
7-
padding: 36
8-
cols: 3
9-
Button:
10-
text: "Scale 0"
11-
on_release: app.goto("scale_0")
12-
Button:
13-
text: "Scale 1"
14-
on_release: app.goto("scale_1")
15-
Button:
16-
text: "Scale 2"
17-
on_release: app.goto("scale_2")
18-
Button:
19-
text: "Scale 3"
20-
on_release: app.goto("scale_3")
21-
Button:
22-
text: "Servo"
23-
on_release: app.goto("servo")
24-
Button:
25-
text: "Network"
26-
on_release: app.goto("network")
27-
Button:
28-
text: "Formats"
29-
on_release: app.goto("formats")
30-
Button:
31-
text: "Software Update"
32-
on_release: app.goto("update")
33-
Button:
34-
text: "Exit"
35-
on_release: app.back()
2+
BoxLayout:
3+
title: "Network Settings"
4+
orientation: "vertical"
5+
padding: 10
6+
ScreenHeader:
7+
text: "Network Settings"
8+
9+
GridLayout:
10+
spacing: 36
11+
padding: 36
12+
cols: 4
13+
Button:
14+
text: "Scale 0"
15+
on_release: app.goto("scale_0")
16+
Button:
17+
text: "Scale 1"
18+
on_release: app.goto("scale_1")
19+
Button:
20+
text: "Scale 2"
21+
on_release: app.goto("scale_2")
22+
Button:
23+
text: "Scale 3"
24+
on_release: app.goto("scale_3")
25+
Button:
26+
text: "Servo"
27+
on_release: app.goto("servo")
28+
Button:
29+
text: "Network"
30+
on_release: app.goto("network")
31+
Button:
32+
text: "Formats"
33+
on_release: app.goto("formats")
34+
Button:
35+
text: "Software Update"
36+
on_release: app.goto("update")

0 commit comments

Comments
 (0)