add more precision to attachment scale in attachment dialog

This commit is contained in:
Thijs Wenker 2017-05-23 18:16:08 +02:00
parent 712aff7ad6
commit 962d95ca46

View file

@ -181,10 +181,10 @@ Item {
HifiControls.SpinBox { HifiControls.SpinBox {
id: scaleSpinner; id: scaleSpinner;
anchors { left: parent.left; right: parent.right; bottom: parent.bottom; } anchors { left: parent.left; right: parent.right; bottom: parent.bottom; }
decimals: 1; decimals: 2;
minimumValue: 0.1 minimumValue: 0.01
maximumValue: 10 maximumValue: 10
stepSize: 0.1; stepSize: 0.05;
value: attachment ? attachment.scale : 1.0 value: attachment ? attachment.scale : 1.0
colorScheme: hifi.colorSchemes.dark colorScheme: hifi.colorSchemes.dark
onValueChanged: { onValueChanged: {