diff options
-rw-r--r-- | editor/groups_editor.cpp | 3 | ||||
-rw-r--r-- | editor/inspector_dock.cpp | 11 |
2 files changed, 5 insertions, 9 deletions
diff --git a/editor/groups_editor.cpp b/editor/groups_editor.cpp index 8443311a54..e42f9780a6 100644 --- a/editor/groups_editor.cpp +++ b/editor/groups_editor.cpp @@ -286,6 +286,9 @@ void GroupDialog::_notification(int p_what) { case NOTIFICATION_ENTER_TREE: { add_button->set_icon(get_icon("Forward", "EditorIcons")); remove_button->set_icon(get_icon("Back", "EditorIcons")); + + add_filter->add_icon_override("right_icon", get_icon("Search", "EditorIcons")); + remove_filter->add_icon_override("right_icon", get_icon("Search", "EditorIcons")); } break; } } diff --git a/editor/inspector_dock.cpp b/editor/inspector_dock.cpp index 1967aac507..4159a3658e 100644 --- a/editor/inspector_dock.cpp +++ b/editor/inspector_dock.cpp @@ -523,6 +523,8 @@ InspectorDock::InspectorDock(EditorNode *p_editor, EditorData &p_editor_data) { search = memnew(LineEdit); search->set_h_size_flags(Control::SIZE_EXPAND_FILL); + search->set_placeholder(TTR("Filter properties")); + search->add_icon_override("right_icon", get_icon("Search", "EditorIcons")); add_child(search); warning = memnew(Button); @@ -560,12 +562,3 @@ InspectorDock::InspectorDock(EditorNode *p_editor, EditorData &p_editor_data) { InspectorDock::~InspectorDock() { } - -// void InspectorDock::_clear_search_box() { - -// if (search_box->get_text() == "") -// return; - -// search_box->clear(); -// inspector->update_tree(); -// }
\ No newline at end of file |