diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-09-21 10:35:23 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-09-21 10:35:23 +0300 |
commit | 99dc2ec9e11d4cc79e1798ed06cb2b3d836db661 (patch) | |
tree | 03d501b8898dfb981264a2d529c2480190814938 /editor | |
parent | 2d1699ef82a29ef65d810194ee76dddc0d9e0389 (diff) | |
download | redot-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.cpp | 3 |
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); |