From c40fb45e598ef7ee4b29a4f77a68807669f2fc31 Mon Sep 17 00:00:00 2001 From: toger5 Date: Wed, 13 Sep 2017 00:20:14 +0200 Subject: [PATCH] fixed border on the right of viewport --- editor/editor_themes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 1903514ea64..ae4d4990fb8 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -433,7 +433,7 @@ Ref create_editor_theme(const Ref p_theme) { Ref 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);