diff options
author | reduz <reduzio@gmail.com> | 2021-02-12 11:05:10 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2021-02-12 17:04:38 +0100 |
commit | 28537d8c84a03bf88e99f3cae0ca5ded0fc95df6 (patch) | |
tree | cdb7b5a85d71a3cafb890ef261783c19670ff43b /editor/scene_tree_editor.cpp | |
parent | 5e528f35505ba946cbda5f7c1fc800ed578b52dc (diff) |
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.
Diffstat (limited to 'editor/scene_tree_editor.cpp')
-rw-r--r-- | editor/scene_tree_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index ce44a4bca1..2cd64a81dc 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -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); |