diff --git a/data/gui/widget/text_box_default.cfg b/data/gui/widget/text_box_default.cfg index 51d7f91653a..7acc017d1da 100644 --- a/data/gui/widget/text_box_default.cfg +++ b/data/gui/widget/text_box_default.cfg @@ -24,17 +24,6 @@ #enddef #define _GUI_DRAW_BORDER COLOR - [rectangle] - x = "(text_x_offset + selection_offset)" - y = "(text_y_offset)" - w = "(selection_width)" - h = "(text_font_height)" - - border_thickness = 0 - fill_color = "21, 53, 80, 255" - - [/rectangle] - [rectangle] x = 0 y = 0 @@ -48,6 +37,16 @@ #enddef #define _GUI_DRAW_TEXT SIZE COLOR + [rectangle] + x = "(text_x_offset + selection_offset)" + y = "(text_y_offset)" + w = "(selection_width)" + h = "(text_font_height)" + + border_thickness = 0 + fill_color = "21, 53, 80, 255" + [/rectangle] + [text] x = "(text_x_offset)" y = "(text_y_offset)"