Code: Select all
style.quick_button_text.text_align = 1.0
Code: Select all
style.quick_button_text.xalign = 1.0
Code: Select all
style.quick_button_text.xanchor = 1.0
style.quick_button_text.xpos = 1.0
Code: Select all
style.quick_button_text.text_align = 1.0
Code: Select all
style.quick_button_text.xalign = 1.0
Code: Select all
style.quick_button_text.xanchor = 1.0
style.quick_button_text.xpos = 1.0
Code: Select all
screen quick_menu:
# Add an in-game quick menu.
vbox:
style_group "quick"
xalign 1.0
yalign 0.97
textbutton _("Q.Save") action QuickSave()
textbutton _("Q.Load") action QuickLoad()
textbutton _("Skip") action Skip()
textbutton _("Auto") action Preference("auto-forward", "toggle")
init -2 python:
style.quick_button.set_parent('default')
style.quick_button.background = "Screens/button3.png"
style.quick_button.xminimum = 70
style.quick_button_text.set_parent('default')
style.quick_button_text.size = 15
style.quick_button_text.text_align = 0.5
Code: Select all
else:
# The two window variant.
vbox:
style "say_two_window_vbox"
window:
id "window"
has vbox:
style "say_vbox"
text what id "what"
if who:
window:
style "say_who_window"
text who:
id "who"
Users browsing this forum: No registered users