diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-02 13:11:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 13:11:24 +0200 |
commit | 90e81b7e2a73694da217986e91e39f5a7f181443 (patch) | |
tree | de6065e78e03c49fb26e4aed66157bc7b72be3db | |
parent | f71e25851261c1a4f35da3fbc628e0baa2662095 (diff) | |
parent | 4f00ac7003c8818269b26b1acd1ce8ef308a8c08 (diff) |
Merge pull request #40042 from YeldhamDev/anim_tree_margin
Remove oversized margins in the AnimationTree editor
-rw-r--r-- | editor/plugins/animation_tree_editor_plugin.cpp | 2 | ||||
-rw-r--r-- | editor/plugins/animation_tree_editor_plugin.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/animation_tree_editor_plugin.cpp b/editor/plugins/animation_tree_editor_plugin.cpp index ec3e25f999..dc813896ff 100644 --- a/editor/plugins/animation_tree_editor_plugin.cpp +++ b/editor/plugins/animation_tree_editor_plugin.cpp @@ -238,7 +238,7 @@ AnimationTreeEditor::AnimationTreeEditor() { add_child(memnew(HSeparator)); singleton = this; - editor_base = memnew(PanelContainer); + editor_base = memnew(MarginContainer); editor_base->set_v_size_flags(SIZE_EXPAND_FILL); add_child(editor_base); diff --git a/editor/plugins/animation_tree_editor_plugin.h b/editor/plugins/animation_tree_editor_plugin.h index 25af81ea9b..79a010b0c0 100644 --- a/editor/plugins/animation_tree_editor_plugin.h +++ b/editor/plugins/animation_tree_editor_plugin.h @@ -55,7 +55,7 @@ class AnimationTreeEditor : public VBoxContainer { HBoxContainer *path_hb; AnimationTree *tree; - PanelContainer *editor_base; + MarginContainer *editor_base; Vector<String> button_path; Vector<String> edited_path; |