Merge pull request from YeldhamDev/anim_tree_margin

Remove oversized margins in the AnimationTree editor
This commit is contained in:
Rémi Verschelde 2020-07-02 13:11:24 +02:00 committed by GitHub
commit 90e81b7e2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;