diff options
| author | Rémi Verschelde | 2017-07-18 14:05:54 +0200 |
|---|---|---|
| committer | GitHub | 2017-07-18 14:05:54 +0200 |
| commit | e21ea393ea9d69a53f82ec4aa6d8c7f05c16979a (patch) | |
| tree | 0b4706c3cad281fc477980bad565e20ffe83a168 /editor/animation_editor.cpp | |
| parent | 5a42bbaace7d8a72e2842f760c6ac905ac238d2c (diff) | |
| parent | 79d85b7ff67e6edc700336ac112dad35e07fe102 (diff) | |
| download | godot-e21ea393ea9d69a53f82ec4aa6d8c7f05c16979a.tar.gz godot-e21ea393ea9d69a53f82ec4aa6d8c7f05c16979a.tar.zst godot-e21ea393ea9d69a53f82ec4aa6d8c7f05c16979a.zip | |
Merge pull request #9688 from djrm/slider_fix
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 1798e66e8..45da36569 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"); |
