From 15f344173e9ee00b6083dd1f6e6bc9897b310f90 Mon Sep 17 00:00:00 2001 From: Giganzo <158825920+Giganzo@users.noreply.github.com> Date: Sun, 22 Sep 2024 11:17:06 +0200 Subject: [PATCH] Fix Add button style in GroupsEditor --- editor/groups_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/groups_editor.cpp b/editor/groups_editor.cpp index ce2dbe7cb13..e0de6bbcb18 100644 --- a/editor/groups_editor.cpp +++ b/editor/groups_editor.cpp @@ -840,7 +840,7 @@ GroupsEditor::GroupsEditor() { add_child(hbc); add = memnew(Button); - add->set_flat(true); + add->set_theme_type_variation("FlatMenuButton"); add->set_tooltip_text(TTR("Add a new group.")); add->connect(SceneStringName(pressed), callable_mp(this, &GroupsEditor::_show_add_group_dialog)); hbc->add_child(add);