Remove oversized margins in the AnimationTree editor

(cherry picked from commit 4f00ac7003)
This commit is contained in:
Michael Alexsander 2020-07-02 02:53:42 -03:00 committed by Rémi Verschelde
parent f2fe197398
commit a9ef40b388
2 changed files with 2 additions and 2 deletions

View file

@ -244,7 +244,7 @@ AnimationTreeEditor::AnimationTreeEditor() {
current_root = 0;
singleton = this;
editor_base = memnew(PanelContainer);
editor_base = memnew(MarginContainer);
editor_base->set_v_size_flags(SIZE_EXPAND_FILL);
add_child(editor_base);

View file

@ -56,7 +56,7 @@ class AnimationTreeEditor : public VBoxContainer {
HBoxContainer *path_hb;
AnimationTree *tree;
PanelContainer *editor_base;
MarginContainer *editor_base;
Vector<String> button_path;
Vector<String> edited_path;