Shrink shader editor's oversized borders

(cherry picked from commit c2553f530b)
This commit is contained in:
Michael Alexsander 2022-09-10 17:35:50 -03:00 committed by Rémi Verschelde
parent c86f4c7f58
commit 13fec0a237
1 changed files with 3 additions and 3 deletions

View File

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