Merge pull request #24267 from YeldhamDev/buttongroup_remove_panel_theme

Remove "panel" theme property from ButtonGroup
This commit is contained in:
Rémi Verschelde 2018-12-12 13:59:17 +01:00 committed by GitHub
commit ab1a80504e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -22,8 +22,4 @@
</methods> </methods>
<constants> <constants>
</constants> </constants>
<theme_items>
<theme_item name="panel" type="StyleBox">
</theme_item>
</theme_items>
</class> </class>

View File

@ -307,10 +307,6 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("hseparation", "MenuButton", 3 * scale); theme->set_constant("hseparation", "MenuButton", 3 * scale);
// ButtonGroup
theme->set_stylebox("panel", "ButtonGroup", memnew(StyleBoxEmpty));
// CheckBox // CheckBox
Ref<StyleBox> cbx_empty = memnew(StyleBoxEmpty); Ref<StyleBox> cbx_empty = memnew(StyleBoxEmpty);