GUI2/Text Box: UI tweaks suggested by shadowm
[ci skip]
This commit is contained in:
parent
123b332aa5
commit
cfd7d0e4e5
1 changed files with 5 additions and 5 deletions
|
@ -105,7 +105,7 @@
|
|||
|
||||
[image]
|
||||
x = "(width - image_width)"
|
||||
y = 0
|
||||
y = "(max(0, height / 2 - image_height / 2))"
|
||||
name = "(if(text = '' and hint_image != '', hint_image, ''))"
|
||||
[/image]
|
||||
#enddef
|
||||
|
@ -157,7 +157,7 @@
|
|||
|
||||
{BACKGROUND_ENABLED}
|
||||
|
||||
{_GUI_DRAW_BORDER ({GUI__BORDER_COLOR_DARK}) }
|
||||
#{_GUI_DRAW_BORDER ({GUI__BORDER_COLOR_DARK}) }
|
||||
|
||||
{_GUI_DRAW_TEXT_OR_HINT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
|
@ -171,7 +171,7 @@
|
|||
|
||||
{BACKGROUND_DISABLED}
|
||||
|
||||
{_GUI_DRAW_BORDER ({GUI__FONT_COLOR_DISABLED_DARK__DEFAULT}) }
|
||||
#{_GUI_DRAW_BORDER ({GUI__FONT_COLOR_DISABLED_DARK__DEFAULT}) }
|
||||
|
||||
{_GUI_DRAW_TEXT_OR_HINT ({FONT_SIZE}) ({GUI__FONT_COLOR_DISABLED__DEFAULT}) }
|
||||
|
||||
|
@ -204,7 +204,7 @@
|
|||
id = "default"
|
||||
description = "Default text box"
|
||||
|
||||
{_GUI_RESOLUTION () 40 250 25 5 10 ({GUI_FONT_SIZE_DEFAULT}) ({_GUI_TEXTBOX_BACKGROUND_ENABLED}) ({_GUI_TEXTBOX_BACKGROUND_DISABLED})}
|
||||
{_GUI_RESOLUTION () 40 250 30 5 10 ({GUI_FONT_SIZE_DEFAULT}) ({_GUI_TEXTBOX_BACKGROUND_ENABLED}) ({_GUI_TEXTBOX_BACKGROUND_DISABLED})}
|
||||
|
||||
[/text_box_definition]
|
||||
|
||||
|
@ -212,7 +212,7 @@
|
|||
id = "transparent"
|
||||
description = "Background-less text box, used for WML messages"
|
||||
|
||||
{_GUI_RESOLUTION () 40 250 25 5 10 ({GUI_FONT_SIZE_DEFAULT}) () ()}
|
||||
{_GUI_RESOLUTION () 40 250 30 5 10 ({GUI_FONT_SIZE_DEFAULT}) () ()}
|
||||
|
||||
[/text_box_definition]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue