Separate xalign and yalign

(cherry picked from commit a36c0ba222)
This commit is contained in:
Gouvernathor 2023-11-16 01:54:22 +01:00 committed by LoafyLemon
parent fa3e1e4450
commit d1aaeb157e
3 changed files with 4 additions and 4 deletions

View File

@ -153,7 +153,7 @@ style quick_alt_button_text:
#
# 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
@ -169,7 +169,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