Przeglądaj źródła

Merge pull request #24267 from YeldhamDev/buttongroup_remove_panel_theme

Remove "panel" theme property from ButtonGroup
Rémi Verschelde 6 lat temu
rodzic
commit
ab1a80504e

+ 0 - 4
doc/classes/ButtonGroup.xml

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

+ 0 - 4
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);