1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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:
reduz
2021-02-12 11:05:10 -03:00
committed by Juan Linietsky
parent 5e528f3550
commit 28537d8c84
6 changed files with 8 additions and 8 deletions

View File

@@ -1260,7 +1260,7 @@ SceneTreeDialog::SceneTreeDialog() {
filter = memnew(LineEdit);
filter->set_h_size_flags(Control::SIZE_EXPAND_FILL);
filter->set_placeholder(TTR("Filter nodes"));
filter->add_theme_constant_override("minimum_spaces", 0);
filter->add_theme_constant_override("minimum_character_width", 0);
filter->connect("text_changed", callable_mp(this, &SceneTreeDialog::_filter_changed));
vbc->add_child(filter);