summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorGilles Roudiere <gilles.roudiere@gmail.com>2017-09-13 17:00:12 +0200
committerGitHub <noreply@github.com>2017-09-13 17:00:12 +0200
commitb8ad46d38354af560a5f7d0a964d792b17f684fc (patch)
tree4e8b8c4999e31b8ce71a0b5a7a6414f648f3f2ee /editor
parentc2741e23858d77892bbade2fc3406a7d633d9e4b (diff)
parentc40fb45e598ef7ee4b29a4f77a68807669f2fc31 (diff)
Merge pull request #11210 from toger5/fix_little_border_for_vieport
fixed border on the right of viewport
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_themes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 1903514ea6..ae4d4990fb 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -433,7 +433,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
Ref<StyleBoxFlat> style_content_panel_vp = style_content_panel->duplicate();
style_content_panel_vp->set_default_margin(MARGIN_LEFT, border_width);
style_content_panel_vp->set_default_margin(MARGIN_TOP, default_margin_size);
- style_content_panel_vp->set_default_margin(MARGIN_LEFT, border_width);
+ style_content_panel_vp->set_default_margin(MARGIN_RIGHT, border_width);
style_content_panel_vp->set_default_margin(MARGIN_BOTTOM, border_width);
theme->set_stylebox("panel", "TabContainer", style_content_panel);
theme->set_stylebox("Content", "EditorStyles", style_content_panel_vp);