diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-05-13 13:13:12 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-05-13 13:13:12 -0300 |
commit | da7a9aae2782af46b21d70452a4edcf317b8c38b (patch) | |
tree | d176ec5c1a787cad40a37ba7a8698cd88b85b3e3 /scene/resources/default_theme | |
parent | bd3dbe5fa306c96f79190ccfcd116436d27acb93 (diff) | |
parent | d38454b9670483707f980e638a00f3c8b947906d (diff) |
Merge pull request #4096 from neikeq/pr-margin-cont-imp
MarginContainer improvements
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 ade56c4f49..9feadf91cf 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -837,7 +837,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); |