diff --git a/editor/plugins/shader_editor_plugin.h b/editor/plugins/shader_editor_plugin.h index c3d86cb14..ee4efd6c6 100644 --- a/editor/plugins/shader_editor_plugin.h +++ b/editor/plugins/shader_editor_plugin.h @@ -32,7 +32,7 @@ #include "editor/code_editor.h" #include "editor/editor_plugin.h" -#include "scene/gui/panel_container.h" +#include "scene/gui/margin_container.h" #include "scene/resources/shader.h" @@ -73,8 +73,8 @@ public: ShaderTextEditor(); }; -class ShaderEditor : public PanelContainer { - GDCLASS(ShaderEditor, PanelContainer); +class ShaderEditor : public MarginContainer { + GDCLASS(ShaderEditor, MarginContainer); enum {