Change yoffset magic number to variable
This commit is contained in:
parent
d44edb546e
commit
409a84d1b7
|
@ -141,7 +141,6 @@ define gui.namebox_borders = Borders(5, 5, 5, 5)
|
||||||
## background of the namebox will be scaled.
|
## background of the namebox will be scaled.
|
||||||
define gui.namebox_tile = False
|
define gui.namebox_tile = False
|
||||||
|
|
||||||
|
|
||||||
## The placement of dialogue relative to the textbox. These can be a whole
|
## The placement of dialogue relative to the textbox. These can be a whole
|
||||||
## number of pixels relative to the left or top side of the textbox, or 0.5 to
|
## number of pixels relative to the left or top side of the textbox, or 0.5 to
|
||||||
## center.
|
## center.
|
||||||
|
@ -155,6 +154,7 @@ define gui.dialogue_width = 1460
|
||||||
## aligned, 0.5 for centered, and 1.0 for right-aligned.
|
## aligned, 0.5 for centered, and 1.0 for right-aligned.
|
||||||
define gui.dialogue_text_xalign = 0.0
|
define gui.dialogue_text_xalign = 0.0
|
||||||
|
|
||||||
|
define gui.window_yoffset = 0
|
||||||
define gui.input_yoffset = 0
|
define gui.input_yoffset = 0
|
||||||
|
|
||||||
## Buttons #####################################################################
|
## Buttons #####################################################################
|
||||||
|
@ -459,6 +459,7 @@ init python:
|
||||||
gui.dialogue_ypos = 20
|
gui.dialogue_ypos = 20
|
||||||
gui.dialogue_xpos = 240
|
gui.dialogue_xpos = 240
|
||||||
gui.dialogue_width = 1460
|
gui.dialogue_width = 1460
|
||||||
|
gui.window_yoffset = -75
|
||||||
|
|
||||||
## Change the size and spacing of various things.
|
## Change the size and spacing of various things.
|
||||||
gui.slider_size = 54
|
gui.slider_size = 54
|
||||||
|
|
|
@ -138,6 +138,7 @@ style window:
|
||||||
yalign gui.textbox_yalign
|
yalign gui.textbox_yalign
|
||||||
ysize gui.textbox_height
|
ysize gui.textbox_height
|
||||||
xoffset 0
|
xoffset 0
|
||||||
|
yoffset gui.window_yoffset
|
||||||
xcenter 0.5
|
xcenter 0.5
|
||||||
|
|
||||||
style namebox:
|
style namebox:
|
||||||
|
@ -1606,10 +1607,6 @@ screen quick_menu():
|
||||||
[ "Menu", ShowMenu() ] \
|
[ "Menu", ShowMenu() ] \
|
||||||
] )
|
] )
|
||||||
|
|
||||||
style window:
|
|
||||||
variant "small"
|
|
||||||
yoffset -75 # ypos 1000
|
|
||||||
|
|
||||||
style radio_button:
|
style radio_button:
|
||||||
variant "small"
|
variant "small"
|
||||||
foreground "gui/phone/button/radio_[prefix_]foreground.png"
|
foreground "gui/phone/button/radio_[prefix_]foreground.png"
|
||||||
|
|
Loading…
Reference in New Issue