This is how it normally looks, and everything works fine.
When the textbox is larger than usual though, the Quick Menu is still fixed to the original position, but I want it to be a certain amount of pixels below the top of the textbox. How would I go about achieving this?
The quick menu in screens.rpy:
Code: Select all
# Quick Menu
#
# A screen that's included by the default say screen, and adds quick access to
# several useful functions.
screen quick_menu():
# Add an in-game quick menu.
hbox:
style_group "quick"
xpos 588
ypos 555
textbutton _("save") action ShowMenu('save')
textbutton _("load") action ShowMenu('load')
textbutton _("auto") action Preference("auto-forward", "toggle")
textbutton _("skip") action Skip()
textbutton _("settings") action ShowMenu('preferences')
textbutton _("menu") action MainMenu ()
textbutton _("exit") action Quit ()
init -2:
style quick_button:
is default
background None
xpadding 5
style quick_button_text:
is default
font "fonts/AlegreyaSans-Regular.otf"
size 22
idle_color "#0d775c"
hover_color "#518678"
selected_idle_color "#11b78d"
selected_hover_color "#ffffff"
insensitive_color "#2e5249"
Code: Select all
# Quick Menu
#
# A screen that's included by the default say screen, and adds quick access to
# several useful functions.
screen quick_menu():
# Add an in-game quick menu.
hbox:
style_group "quick"
xpos 588
ypos 555
textbutton _("save") action ShowMenu('save')
textbutton _("load") action ShowMenu('load')
textbutton _("auto") action Preference("auto-forward", "toggle")
textbutton _("skip") action Skip()
textbutton _("settings") action ShowMenu('preferences')
textbutton _("menu") action MainMenu ()
textbutton _("exit") action Quit ()
init -2:
style quick_button:
is default
background None
xpadding 5
style quick_button_text:
is default
font "fonts/AlegreyaSans-Regular.otf"
size 22
idle_color "#0d775c"
hover_color "#518678"
selected_idle_color "#11b78d"
selected_hover_color "#ffffff"
insensitive_color "#2e5249"