1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Add placeholders to the searchbars in the Project/Editor settings

(cherry picked from commit 626d9d5ae4)
This commit is contained in:
Michael Alexsander
2020-08-28 18:39:19 -03:00
committed by Rémi Verschelde
parent 96ca267209
commit d949b042a7
2 changed files with 3 additions and 0 deletions

View File

@@ -1843,6 +1843,7 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
search_bar->hide();
search_box = memnew(LineEdit);
search_box->set_placeholder(TTR("Search"));
search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
search_bar->add_child(search_box);