From 13fec0a23767ee4b10c6f7e7a2e14afa9aa6b8a0 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Sat, 10 Sep 2022 17:35:50 -0300 Subject: [PATCH] Shrink shader editor's oversized borders (cherry picked from commit c2553f530be9c137fe992d5d4521e13de92a32b2) --- editor/plugins/shader_editor_plugin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/plugins/shader_editor_plugin.h b/editor/plugins/shader_editor_plugin.h index a475c7010aa..fae1d1510ff 100644 --- a/editor/plugins/shader_editor_plugin.h +++ b/editor/plugins/shader_editor_plugin.h @@ -33,8 +33,8 @@ #include "editor/code_editor.h" #include "editor/editor_plugin.h" +#include "scene/gui/margin_container.h" #include "scene/gui/menu_button.h" -#include "scene/gui/panel_container.h" #include "scene/gui/tab_container.h" #include "scene/gui/text_edit.h" #include "scene/main/timer.h" @@ -64,8 +64,8 @@ public: ShaderTextEditor(); }; -class ShaderEditor : public PanelContainer { - GDCLASS(ShaderEditor, PanelContainer); +class ShaderEditor : public MarginContainer { + GDCLASS(ShaderEditor, MarginContainer); enum {