Bug fixes
* Fixed styling issues in preference menus
This commit is contained in:
parent
2cf60f97f6
commit
d96b9743d3
@ -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")
|
||||||
|
@ -226,8 +226,11 @@ screen preferences_sound():
|
|||||||
|
|
||||||
screen preferences_accessibility():
|
screen preferences_accessibility():
|
||||||
|
|
||||||
text "Disclaimer" size 18 xalign 0.5
|
vbox:
|
||||||
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 "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:
|
hbox:
|
||||||
box_wrap True
|
box_wrap True
|
||||||
@ -270,7 +273,8 @@ screen preferences_accessibility():
|
|||||||
textbutton "Large" action Preference("font line spacing", 1.2)
|
textbutton "Large" action Preference("font line spacing", 1.2)
|
||||||
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")
|
||||||
|
|
||||||
@ -441,19 +445,19 @@ style slider_vbox is pref_vbox:
|
|||||||
xsize 320
|
xsize 320
|
||||||
|
|
||||||
screen _self_voicing():
|
screen _self_voicing():
|
||||||
zorder 1500
|
zorder 1500
|
||||||
|
|
||||||
if _preferences.self_voicing == "clipboard":
|
if _preferences.self_voicing == "clipboard":
|
||||||
$ message = _("Clipboard voicing enabled. Press 'shift+C' to disable.")
|
$ message = _("Clipboard voicing enabled. Press 'shift+C' to disable.")
|
||||||
elif _preferences.self_voicing == "debug":
|
elif _preferences.self_voicing == "debug":
|
||||||
$ message = _("Text-to-speech would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable.")
|
$ message = _("Text-to-speech would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable.")
|
||||||
else:
|
else:
|
||||||
$ message = _("Text-to-speech enabled. Press 'shift+v' to disable.")
|
$ message = _("Text-to-speech enabled. Press 'shift+v' to disable.")
|
||||||
|
|
||||||
text message:
|
text message:
|
||||||
alt ""
|
alt ""
|
||||||
|
|
||||||
xpos 10
|
xpos 10
|
||||||
ypos 35
|
ypos 35
|
||||||
color "#fff"
|
color "#fff"
|
||||||
outlines [ (1, "#0008", 0, 0)]
|
outlines [ (1, "#0008", 0, 0)]
|
||||||
|
Loading…
Reference in New Issue
Block a user