Bigger Buttons

This commit is contained in:
2021-06-30 12:00:16 +10:00
parent b4112f4621
commit 6e10937b8b

View File

@ -1528,11 +1528,12 @@ style pref_vbox:
## that uses fewer and bigger buttons that are easier to touch. ## that uses fewer and bigger buttons that are easier to touch.
screen quick_button(filename, label, function): screen quick_button(filename, label, function):
button: button:
xmaximum 140 xmaximum 160
ymaximum 0 ymaximum 100
add filename xalign 0.5 yalign 0.5
text label xalign 0.5 yalign 0.5 size 22 color "#000"
action function action function
fixed:
add filename xalign 0.5 yalign 0.5 zoom 1.75
text label xalign 0.5 yalign 0.5 size 42 color "#000000EE"
screen quick_menu(): screen quick_menu():
@ -1542,7 +1543,7 @@ screen quick_menu():
hbox: hbox:
style_prefix "quick" style_prefix "quick"
xalign 0.5 xalign 0.5
yalign 0.9375 yalign 0.975
use quick_button("gui/button/uioptionbuttons/template_idle.png", "Back", Rollback()) use quick_button("gui/button/uioptionbuttons/template_idle.png", "Back", Rollback())
use quick_button("gui/button/uioptionbuttons/template_idle.png", "Skip", Skip()) #alternate Skip(fast=True, confirm=True)) use quick_button("gui/button/uioptionbuttons/template_idle.png", "Skip", Skip()) #alternate Skip(fast=True, confirm=True))
use quick_button("gui/button/uioptionbuttons/template_idle.png", "Auto", Preference("auto-forward", "toggle")) use quick_button("gui/button/uioptionbuttons/template_idle.png", "Auto", Preference("auto-forward", "toggle"))