aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoger52017-09-13 00:20:14 +0200
committertoger52017-09-13 15:36:05 +0200
commitc40fb45e598ef7ee4b29a4f77a68807669f2fc31 (patch)
tree27d93872f774d7649ef1167f2d6fe0e1c9c86c39
parent175777596ec3521731665dd750fd7087793b10fc (diff)
downloadgodot-c40fb45e598ef7ee4b29a4f77a68807669f2fc31.tar.gz
godot-c40fb45e598ef7ee4b29a4f77a68807669f2fc31.tar.zst
godot-c40fb45e598ef7ee4b29a4f77a68807669f2fc31.zip
fixed border on the right of viewport
-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 1903514ea..ae4d4990f 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);