summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-09-21 10:35:23 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-09-21 10:35:23 +0300
commit99dc2ec9e11d4cc79e1798ed06cb2b3d836db661 (patch)
tree03d501b8898dfb981264a2d529c2480190814938 /editor
parent2d1699ef82a29ef65d810194ee76dddc0d9e0389 (diff)
downloadredot-engine-99dc2ec9e11d4cc79e1798ed06cb2b3d836db661.tar.gz
Fix RTL layout Label text, VBox child, 3D node editor controls, and popup menu alignment.
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index cf451dce91..437094078e 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/editor/plugins/node_3d_editor_plugin.cpp
@@ -4196,7 +4196,8 @@ Node3DEditorViewport::Node3DEditorViewport(Node3DEditor *p_spatial_editor, Edito
VBoxContainer *vbox = memnew(VBoxContainer);
surface->add_child(vbox);
- vbox->set_position(Point2(10, 10) * EDSCALE);
+ vbox->set_offset(SIDE_LEFT, 10 * EDSCALE);
+ vbox->set_offset(SIDE_TOP, 10 * EDSCALE);
view_menu = memnew(MenuButton);
view_menu->set_flat(false);