Bug fixes

* Fixed styling issues in preference menus
This commit is contained in:
LoafyLemon 2023-04-30 00:31:14 +01:00
parent 2cf60f97f6
commit d96b9743d3
2 changed files with 21 additions and 17 deletions

View File

@ -169,7 +169,7 @@ screen game_menu(title, scroll=None, yinitial=0.0):
use navigation(title) use navigation(title)
label title anchor (0.5, 0.5) align (0.86, 0.15) label title anchor (0.5, 0.5) align (0.9, 0.15)
if main_menu and not title == "Updater": if main_menu and not title == "Updater":
key "game_menu" action ShowMenu("main_menu") key "game_menu" action ShowMenu("main_menu")

View File

@ -226,7 +226,10 @@ screen preferences_sound():
screen preferences_accessibility(): screen preferences_accessibility():
vbox:
text "Disclaimer" size 18 xalign 0.5 text "Disclaimer" size 18 xalign 0.5
hbox:
xmaximum 731
text "These menu options are intended to improve accessibility and may not work well in all cases where text might overflow. When changing font, text size or spacing try to keep it close to the default size." size 14 text "These menu options are intended to improve accessibility and may not work well in all cases where text might overflow. When changing font, text size or spacing try to keep it close to the default size." size 14
hbox: hbox:
@ -271,6 +274,7 @@ screen preferences_accessibility():
textbutton "V. Large" action Preference("font line spacing", 1.4) textbutton "V. Large" action Preference("font line spacing", 1.4)
if not renpy.mobile: if not renpy.mobile:
hbox:
vbox: vbox:
style_prefix gui.theme("check") style_prefix gui.theme("check")