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

Add placeholders to the searchbars in the Project/Editor settings

This commit is contained in:
Michael Alexsander
2020-08-28 18:39:19 -03:00
parent d6510776dc
commit 626d9d5ae4
2 changed files with 3 additions and 0 deletions

View File

@@ -333,6 +333,7 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
header->add_child(search_bar);
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);