Merge pull request #24267 from YeldhamDev/buttongroup_remove_panel_theme
Remove "panel" theme property from ButtonGroup
This commit is contained in:
commit
ab1a80504e
|
@ -22,8 +22,4 @@
|
||||||
</methods>
|
</methods>
|
||||||
<constants>
|
<constants>
|
||||||
</constants>
|
</constants>
|
||||||
<theme_items>
|
|
||||||
<theme_item name="panel" type="StyleBox">
|
|
||||||
</theme_item>
|
|
||||||
</theme_items>
|
|
||||||
</class>
|
</class>
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue