Shrink shader editor's oversized borders
(cherry picked from commit c2553f530b
)
This commit is contained in:
parent
c86f4c7f58
commit
13fec0a237
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue