Remove oversized margins in the AnimationTree editor

This commit is contained in:
Michael Alexsander 2020-07-02 02:53:42 -03:00
parent 0a8dbe7f75
commit 4f00ac7003
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

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