diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-12 17:18:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 17:18:50 +0100 |
commit | 45c6d3c5767f0ebc60ef1334aec5720680191eec (patch) | |
tree | cdb7b5a85d71a3cafb890ef261783c19670ff43b /scene/resources | |
parent | 5e528f35505ba946cbda5f7c1fc800ed578b52dc (diff) | |
parent | 28537d8c84a03bf88e99f3cae0ca5ded0fc95df6 (diff) |
Merge pull request #45923 from reduz/fix-lineedit-minimum-width
Fix LineEdit minimum width
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 31bc00e528..e66de82ed9 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -394,7 +394,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_color("clear_button_color", "LineEdit", control_font_color); theme->set_color("clear_button_color_pressed", "LineEdit", control_font_pressed_color); - theme->set_constant("minimum_spaces", "LineEdit", 12 * scale); + theme->set_constant("minimum_character_width", "LineEdit", 4); theme->set_icon("clear", "LineEdit", make_icon(line_edit_clear_png)); |