diff options
| author | Juan Linietsky | 2016-10-05 01:26:35 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-10-05 01:26:35 -0300 |
| commit | cf5778e51a883936ffc896231da8259e5ebabc0a (patch) | |
| tree | 286f7eb7956a5c2c275276bbc9e3db5e3ff0730f /tools/editor/plugins/canvas_item_editor_plugin.cpp | |
| parent | a6e9dc615346f44b68b418483dd218d11ba4a674 (diff) | |
| download | godot-cf5778e51a883936ffc896231da8259e5ebabc0a.tar.gz godot-cf5778e51a883936ffc896231da8259e5ebabc0a.tar.zst godot-cf5778e51a883936ffc896231da8259e5ebabc0a.zip | |
Diffstat (limited to 'tools/editor/plugins/canvas_item_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/canvas_item_editor_plugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp index b0e002ba4..2025fe825 100644 --- a/tools/editor/plugins/canvas_item_editor_plugin.cpp +++ b/tools/editor/plugins/canvas_item_editor_plugin.cpp @@ -3320,7 +3320,8 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) { vp_base->set_v_size_flags(SIZE_EXPAND_FILL); palette_split->add_child(vp_base); - Control *vp = memnew (Control); + ViewportContainer *vp = memnew (ViewportContainer); + vp->set_stretch(true); vp_base->add_child(vp); vp->set_area_as_parent_rect(); vp->add_child(p_editor->get_scene_root()); |
