From 6730fc8f0f036fe6d77bfec6c19ebed6872a9a6e 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 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 {