Fix UX with project settings search functionality
This commit is contained in:
parent
f13d034485
commit
e7b98119df
|
@ -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 New Issue