diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-03-19 14:31:06 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-03-21 00:53:47 +0100 |
commit | d38454b9670483707f980e638a00f3c8b947906d (patch) | |
tree | 2eba510a20c51f08ce8faed13a6ff9647887b151 /scene/resources/default_theme | |
parent | 15ba4d34c5040532b7926f6cfe670d081fee79b1 (diff) |
MarginContainer: Add top, right and bottom margins
Diffstat (limited to 'scene/resources/default_theme')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 5 |
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); |