1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

Fixed slider centering when using SIZE_EXPAND_FILL.

This commit is contained in:
Daniel J. Ramirez
2017-07-18 01:32:25 -05:00
parent 69a4ea34c4
commit 79d85b7ff6
2 changed files with 6 additions and 2 deletions

View File

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