diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-12 13:59:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 13:59:17 +0100 |
commit | ab1a80504e81430be1221a6653fc3934006bbe50 (patch) | |
tree | 19037ba8315a9470e0f0a0c4adf8537e6b4d4847 | |
parent | 4fe5a1dbefaa8bedc14755e84702342d7aea1157 (diff) | |
parent | bfab0fe3db8b5a2cb2f128f23e3502ff668fe459 (diff) |
Merge pull request #24267 from YeldhamDev/buttongroup_remove_panel_theme
Remove "panel" theme property from ButtonGroup
-rw-r--r-- | doc/classes/ButtonGroup.xml | 4 | ||||
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/doc/classes/ButtonGroup.xml b/doc/classes/ButtonGroup.xml index e839c3e750..0f5ea8e6bf 100644 --- a/doc/classes/ButtonGroup.xml +++ b/doc/classes/ButtonGroup.xml @@ -22,8 +22,4 @@ </methods> <constants> </constants> - <theme_items> - <theme_item name="panel" type="StyleBox"> - </theme_item> - </theme_items> </class> diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index fff136cdc3..b0c1dcde9a 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -307,10 +307,6 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_constant("hseparation", "MenuButton", 3 * scale); - // ButtonGroup - - theme->set_stylebox("panel", "ButtonGroup", memnew(StyleBoxEmpty)); - // CheckBox Ref<StyleBox> cbx_empty = memnew(StyleBoxEmpty); |