Shrink shader editor's oversized borders

(cherry picked from commit c2553f530be9c137fe992d5d4521e13de92a32b2)
This commit is contained in:
Michael Alexsander 2022-09-10 17:35:50 -03:00 committed by Relintai
parent ace2a22838
commit 6730fc8f0f

View File

@ -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 {