summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorMarianoGNU <marianognu.easyrpg@gmail.com>2015-10-19 17:46:13 -0300
committerMarianoGNU <marianognu.easyrpg@gmail.com>2015-10-19 17:46:13 -0300
commit6df7d923797908ecf38684c0008c0e4b6475d884 (patch)
treec5751c64cf09a701f26db1dc86a7e2f64d06f44a /scene/resources
parentede0cf20bb1a41b316a39c320ad86c76d41ba9c2 (diff)
Fix ButtonGroup broken layout
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/default_theme/default_theme.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 5a99538a5f..9f25337c3d 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -299,6 +299,10 @@ void make_default_theme() {
t->set_constant("hseparation","MenuButton", 3 );
+ // ButtonGroup
+
+ t->set_stylebox("panel","ButtonGroup", memnew( StyleBoxEmpty ));
+
// CheckBox
Ref<StyleBox> cbx_empty = memnew( StyleBoxEmpty );