diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-07-18 01:32:25 -0500 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-07-18 01:50:01 -0500 |
commit | 79d85b7ff67e6edc700336ac112dad35e07fe102 (patch) | |
tree | fa7ce7f2d4ff6680a4d56e17e858819c6e397678 /editor/animation_editor.cpp | |
parent | 69a4ea34c4f630c1ca353a135d768872bb54cd41 (diff) |
Fixed slider centering when using SIZE_EXPAND_FILL.
Diffstat (limited to 'editor/animation_editor.cpp')
-rw-r--r-- | editor/animation_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/animation_editor.cpp b/editor/animation_editor.cpp index 1798e66e8a..45da365695 100644 --- a/editor/animation_editor.cpp +++ b/editor/animation_editor.cpp @@ -3774,6 +3774,7 @@ AnimationKeyEditor::AnimationKeyEditor() { zoom->set_max(2.0); zoom->set_value(1.0); zoom->set_h_size_flags(SIZE_EXPAND_FILL); + zoom->set_v_size_flags(SIZE_EXPAND_FILL); zoom->set_stretch_ratio(2); hb->add_child(zoom); zoom->connect("value_changed", this, "_scroll_changed"); |