Separate xalign and yalign

This commit is contained in:
Gouvernathor 2023-11-16 01:54:22 +01:00
parent fbe8035c43
commit a36c0ba222
3 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@ style quick_button_text is default:
#
# https://www.renpy.org/doc/html/screen_special.html#choice
screen choice(items, menu_align=(.5, .6)):
screen choice(items, menu_xalign=.5, menu_yalign=.6):
tag menu
modal True
zorder 30
@ -138,7 +138,7 @@ screen choice(items, menu_align=(.5, .6)):
window at fade_show_hide(0.15):
style "empty"
align menu_align
align (menu_xalign, menu_yalign)
vbox:
spacing 0

View File

@ -210,7 +210,7 @@ label letter(text, lbl):
show screen letter(text)
with d3
menu (menu_align=(.5, .9)):
menu (menu_xalign=.5, menu_yalign=.9):
"-Done reading-":
pass

View File

@ -87,7 +87,7 @@ label unlock_clothing(text="", item="interface/icons/box_blue_1.webp"):
show screen blktone
with d3
menu (menu_align=(.5, .75)):
menu (menu_xalign=.5, menu_yalign=.75):
"[text]"
"-Done Reading-":
pass