summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-11-18 19:14:25 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-11-18 19:14:25 -0300
commita8f18e1bae63edcca6342b8e507585be6ba56d20 (patch)
tree206872dd8af2ad17782641202d555126548589f1 /scene/resources/default_theme
parentcba634c608a61d82e96073b7d6c42df24fb9f5b3 (diff)
parent6df7d923797908ecf38684c0008c0e4b6475d884 (diff)
Merge pull request #2639 from MarianoGnu/origin
Fix ButtonGroup broken layout
Diffstat (limited to 'scene/resources/default_theme')
-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 8c640b1b1b..a82fc2a5e7 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -322,6 +322,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 );