summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorDanny Chung <chungd87@gmail.com>2022-05-27 21:25:23 -0700
committerRĂ©mi Verschelde <rverschelde@gmail.com>2022-06-09 09:59:26 +0200
commit09658f7e3ba7ffc87ae9f90aa42f64dfeeb33f40 (patch)
tree82b8ee421e3646d5e7ec1241fac01a8fb2a5962d /editor
parenta2c016e997fbff4c1af6f3c7220de7bfe1e59105 (diff)
Increase AnimationPlayer position SpinBox to fit more decimals
Fixed UI bug where it appeared that pushing the up or down incrementing arrows did not increment the SpinBox value appropriately. Just needed to increase the size of the box horizontally, to display four decimal points consistently.
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/animation_player_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp
index 32c7a5db4d..98ccc1fdbe 100644
--- a/editor/plugins/animation_player_editor_plugin.cpp
+++ b/editor/plugins/animation_player_editor_plugin.cpp
@@ -1573,7 +1573,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug
frame = memnew(SpinBox);
hb->add_child(frame);
- frame->set_custom_minimum_size(Size2(60, 0));
+ frame->set_custom_minimum_size(Size2(80, 0) * EDSCALE);
frame->set_stretch_ratio(2);
frame->set_step(0.0001);
frame->set_tooltip(TTR("Animation position (in seconds)."));