summaryrefslogtreecommitdiffstats
path: root/scene/resources/default_theme/default_theme.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-08 09:39:20 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-08 10:36:26 -0300
commit7590f3db21f486988d8d59c4e6151344e3d40961 (patch)
treeb8006004ff68afb8db55a5ff6a2066ae296d5ca8 /scene/resources/default_theme/default_theme.cpp
parentade337c3405815207560ddcb0f3b17dd7a87fd5e (diff)
downloadredot-engine-7590f3db21f486988d8d59c4e6151344e3d40961.tar.gz
grid container supports separate h and v spacing
closes #2049
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r--scene/resources/default_theme/default_theme.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 62fa01f587..2267cc9e2f 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -772,7 +772,8 @@ void make_default_theme() {
t->set_constant("separation","HBoxContainer",4);
t->set_constant("separation","VBoxContainer",4);
t->set_constant("margin","MarginContainer",8);
- t->set_constant("separation","GridContainer",4);
+ t->set_constant("hseparation","GridContainer",4);
+ t->set_constant("vseparation","GridContainer",4);
t->set_constant("separation","HSplitContainer",12);
t->set_constant("separation","VSplitContainer",12);
t->set_constant("autohide","HSplitContainer",1);