1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

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; current_root = 0;
singleton = this; singleton = this;
editor_base = memnew(PanelContainer); editor_base = memnew(MarginContainer);
editor_base->set_v_size_flags(SIZE_EXPAND_FILL); editor_base->set_v_size_flags(SIZE_EXPAND_FILL);
add_child(editor_base); add_child(editor_base);

View File

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