diff --git a/tools/editor/plugins/canvas_item_editor_plugin.h b/tools/editor/plugins/canvas_item_editor_plugin.h index b8d75b882eb..08be9028e9a 100644 --- a/tools/editor/plugins/canvas_item_editor_plugin.h +++ b/tools/editor/plugins/canvas_item_editor_plugin.h @@ -447,8 +447,8 @@ public: }; -class CanvasItemEditorViewport : public VBoxContainer { - OBJ_TYPE( CanvasItemEditorViewport, VBoxContainer ); +class CanvasItemEditorViewport : public Control { + OBJ_TYPE( CanvasItemEditorViewport, Control ); String default_type; Vector types;