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)
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":
key "game_menu" action ShowMenu("main_menu")

View File

@ -226,8 +226,11 @@ screen preferences_sound():
screen preferences_accessibility():
text "Disclaimer" size 18 xalign 0.5
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
vbox:
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
hbox:
box_wrap True
@ -270,7 +273,8 @@ screen preferences_accessibility():
textbutton "Large" action Preference("font line spacing", 1.2)
textbutton "V. Large" action Preference("font line spacing", 1.4)
if not renpy.mobile:
if not renpy.mobile:
hbox:
vbox:
style_prefix gui.theme("check")
@ -441,19 +445,19 @@ style slider_vbox is pref_vbox:
xsize 320
screen _self_voicing():
zorder 1500
zorder 1500
if _preferences.self_voicing == "clipboard":
$ message = _("Clipboard voicing enabled. Press 'shift+C' to disable.")
elif _preferences.self_voicing == "debug":
$ message = _("Text-to-speech would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable.")
else:
$ message = _("Text-to-speech enabled. Press 'shift+v' to disable.")
if _preferences.self_voicing == "clipboard":
$ message = _("Clipboard voicing enabled. Press 'shift+C' to disable.")
elif _preferences.self_voicing == "debug":
$ message = _("Text-to-speech would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable.")
else:
$ message = _("Text-to-speech enabled. Press 'shift+v' to disable.")
text message:
alt ""
text message:
alt ""
xpos 10
ypos 35
color "#fff"
outlines [ (1, "#0008", 0, 0)]
xpos 10
ypos 35
color "#fff"
outlines [ (1, "#0008", 0, 0)]