summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-03-19 14:31:06 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-03-21 00:53:47 +0100
commitd38454b9670483707f980e638a00f3c8b947906d (patch)
tree2eba510a20c51f08ce8faed13a6ff9647887b151 /scene/resources/default_theme
parent15ba4d34c5040532b7926f6cfe670d081fee79b1 (diff)
MarginContainer: Add top, right and bottom margins
Diffstat (limited to 'scene/resources/default_theme')
-rw-r--r--scene/resources/default_theme/default_theme.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 005a46c0bc..43b3a8efb4 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -836,7 +836,10 @@ 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("margin_left","MarginContainer",8);
+ t->set_constant("margin_top","MarginContainer",0);
+ t->set_constant("margin_right","MarginContainer",0);
+ t->set_constant("margin_bottom","MarginContainer",0);
t->set_constant("hseparation","GridContainer",4);
t->set_constant("vseparation","GridContainer",4);
t->set_constant("separation","HSplitContainer",12);