summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-12-10 02:10:53 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-12-10 17:28:56 -0200
commitbfab0fe3db8b5a2cb2f128f23e3502ff668fe459 (patch)
tree0271e88e070fbb509997a27b14a462de3e9817a7
parentfa024537a39c24bf9fb2e24063acee0daf63dfc1 (diff)
Remove "panel" theme property from ButtonGroup
-rw-r--r--doc/classes/ButtonGroup.xml4
-rw-r--r--scene/resources/default_theme/default_theme.cpp4
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);