Fix LineEdit minimum width
-Changed theme setting name to make more sense of what it does -Reduced amount of minimum characters, so minimum size is smaller.
This commit is contained in:
parent
5e528f3550
commit
28537d8c84
6 changed files with 8 additions and 8 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue