From af60f103918db7e9de78b6010123c838e92ddd64 Mon Sep 17 00:00:00 2001 From: Iris Morelle Date: Sun, 19 Jan 2020 21:37:24 -0300 Subject: [PATCH] gui2/text_box: Re-do borders for all states This makes it so all states of the text box widget have borders again. The colours are changed, however, so that the focused state has the brightest border. This turned out to be necessary because otherwise the chat input textbox in the MP lobby completely blends with the chat log box, making it seem as though it disappears whenever it doesn't have the keyboard focus. [ci skip] --- data/gui/widget/text_box_default.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/gui/widget/text_box_default.cfg b/data/gui/widget/text_box_default.cfg index 4890c07c474..05040b95484 100644 --- a/data/gui/widget/text_box_default.cfg +++ b/data/gui/widget/text_box_default.cfg @@ -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}) } @@ -185,7 +185,7 @@ {BACKGROUND_ENABLED} - {_GUI_DRAW_BORDER ({GUI__BORDER_COLOR}) } + {_GUI_DRAW_BORDER ({GUI__BORDER_COLOR_BRIGHT}) } # We never draw the hint text or image if focused {_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) } @@ -202,7 +202,7 @@ {BACKGROUND_ENABLED} - {_GUI_DRAW_BORDER ({GUI__BORDER_COLOR_DARK}) } + {_GUI_DRAW_BORDER ({GUI__BORDER_COLOR}) } {_GUI_DRAW_TEXT_OR_HINT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }