Merge pull request #16328 from bcr3ative/issue_16278
Fix UX with project settings search functionality
This commit is contained in:
commit
5b58040d11
2 changed files with 2 additions and 2 deletions
|
@ -1595,7 +1595,7 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
||||||
hbc->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
hbc->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
props_base->add_child(hbc);
|
props_base->add_child(hbc);
|
||||||
|
|
||||||
search_button = memnew(ToolButton);
|
search_button = memnew(Button);
|
||||||
search_button->set_toggle_mode(true);
|
search_button->set_toggle_mode(true);
|
||||||
search_button->set_pressed(false);
|
search_button->set_pressed(false);
|
||||||
search_button->set_text(TTR("Search"));
|
search_button->set_text(TTR("Search"));
|
||||||
|
|
|
@ -67,7 +67,7 @@ class ProjectSettingsEditor : public AcceptDialog {
|
||||||
SectionedPropertyEditor *globals_editor;
|
SectionedPropertyEditor *globals_editor;
|
||||||
|
|
||||||
HBoxContainer *search_bar;
|
HBoxContainer *search_bar;
|
||||||
ToolButton *search_button;
|
Button *search_button;
|
||||||
LineEdit *search_box;
|
LineEdit *search_box;
|
||||||
ToolButton *clear_button;
|
ToolButton *clear_button;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue