mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-03-13 20:19:25 +01:00
Change yoffset magic number to variable
This commit is contained in:
parent
d44edb546e
commit
409a84d1b7
2 changed files with 3 additions and 5 deletions
|
@ -141,7 +141,6 @@ define gui.namebox_borders = Borders(5, 5, 5, 5)
|
|||
## background of the namebox will be scaled.
|
||||
define gui.namebox_tile = False
|
||||
|
||||
|
||||
## 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
|
||||
## center.
|
||||
|
@ -155,6 +154,7 @@ define gui.dialogue_width = 1460
|
|||
## aligned, 0.5 for centered, and 1.0 for right-aligned.
|
||||
define gui.dialogue_text_xalign = 0.0
|
||||
|
||||
define gui.window_yoffset = 0
|
||||
define gui.input_yoffset = 0
|
||||
|
||||
## Buttons #####################################################################
|
||||
|
@ -459,6 +459,7 @@ init python:
|
|||
gui.dialogue_ypos = 20
|
||||
gui.dialogue_xpos = 240
|
||||
gui.dialogue_width = 1460
|
||||
gui.window_yoffset = -75
|
||||
|
||||
## Change the size and spacing of various things.
|
||||
gui.slider_size = 54
|
||||
|
|
|
@ -138,6 +138,7 @@ style window:
|
|||
yalign gui.textbox_yalign
|
||||
ysize gui.textbox_height
|
||||
xoffset 0
|
||||
yoffset gui.window_yoffset
|
||||
xcenter 0.5
|
||||
|
||||
style namebox:
|
||||
|
@ -1606,10 +1607,6 @@ screen quick_menu():
|
|||
[ "Menu", ShowMenu() ] \
|
||||
] )
|
||||
|
||||
style window:
|
||||
variant "small"
|
||||
yoffset -75 # ypos 1000
|
||||
|
||||
style radio_button:
|
||||
variant "small"
|
||||
foreground "gui/phone/button/radio_[prefix_]foreground.png"
|
||||
|
|
Loading…
Reference in a new issue