You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix Add button style in GroupsEditor
This commit is contained in:
@@ -840,7 +840,7 @@ GroupsEditor::GroupsEditor() {
|
|||||||
add_child(hbc);
|
add_child(hbc);
|
||||||
|
|
||||||
add = memnew(Button);
|
add = memnew(Button);
|
||||||
add->set_flat(true);
|
add->set_theme_type_variation("FlatMenuButton");
|
||||||
add->set_tooltip_text(TTR("Add a new group."));
|
add->set_tooltip_text(TTR("Add a new group."));
|
||||||
add->connect(SceneStringName(pressed), callable_mp(this, &GroupsEditor::_show_add_group_dialog));
|
add->connect(SceneStringName(pressed), callable_mp(this, &GroupsEditor::_show_add_group_dialog));
|
||||||
hbc->add_child(add);
|
hbc->add_child(add);
|
||||||
|
|||||||
Reference in New Issue
Block a user