Fix UX with project settings search functionality
(cherry picked from commit e7b98119df
)
This commit is contained in:
parent
9173819b71
commit
79b931d093
|
@ -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