summaryrefslogtreecommitdiffstats
path: root/editor/editor_help_search.cpp
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-09-19 18:03:10 +0200
committerYuri Sizov <yuris@humnom.net>2023-09-19 22:36:29 +0200
commit4bd569be95f0e8ba34813b0d8fc53bab1125ccaa (patch)
treefd74d6aacd1f1fa8d92fa61acd36d96023504579 /editor/editor_help_search.cpp
parent571cd0eb791b37e9a8adda9f909251138170f6b7 (diff)
downloadredot-engine-4bd569be95f0e8ba34813b0d8fc53bab1125ccaa.tar.gz
Replace flat buttons with flat-styled buttons with a visible pressed state
Diffstat (limited to 'editor/editor_help_search.cpp')
-rw-r--r--editor/editor_help_search.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_help_search.cpp b/editor/editor_help_search.cpp
index c0459e9496..1029cfcf0e 100644
--- a/editor/editor_help_search.cpp
+++ b/editor/editor_help_search.cpp
@@ -210,7 +210,7 @@ EditorHelpSearch::EditorHelpSearch() {
hbox->add_child(search_box);
case_sensitive_button = memnew(Button);
- case_sensitive_button->set_flat(true);
+ case_sensitive_button->set_theme_type_variation("FlatButton");
case_sensitive_button->set_tooltip_text(TTR("Case Sensitive"));
case_sensitive_button->connect("pressed", callable_mp(this, &EditorHelpSearch::_update_results));
case_sensitive_button->set_toggle_mode(true);
@@ -218,7 +218,7 @@ EditorHelpSearch::EditorHelpSearch() {
hbox->add_child(case_sensitive_button);
hierarchy_button = memnew(Button);
- hierarchy_button->set_flat(true);
+ hierarchy_button->set_theme_type_variation("FlatButton");
hierarchy_button->set_tooltip_text(TTR("Show Hierarchy"));
hierarchy_button->connect("pressed", callable_mp(this, &EditorHelpSearch::_update_results));
hierarchy_button->set_toggle_mode(true);