Fix ScriptTextEditor resizing issue
This commit is contained in:
parent
bf95b62586
commit
ecf1f8d960
2 changed files with 4 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="ScriptEditorBase" inherits="Control" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<class name="ScriptEditorBase" inherits="VBoxContainer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
Base editor for editing scripts in the [ScriptEditor].
|
||||
</brief_description>
|
||||
|
|
|
|||
|
|
@ -31,13 +31,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "editor/gui/code_editor.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
class EditorSyntaxHighlighter;
|
||||
class MenuButton;
|
||||
class VSplitContainer;
|
||||
|
||||
class ScriptEditorBase : public Control {
|
||||
GDCLASS(ScriptEditorBase, Control);
|
||||
class ScriptEditorBase : public VBoxContainer {
|
||||
GDCLASS(ScriptEditorBase, VBoxContainer);
|
||||
|
||||
protected:
|
||||
Ref<Resource> edited_res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue