Descrepencies when trying to set current Values of the slider.
I have set following values: maxRotationAngle: 270, minimumValue: 50.0, maximumValue: 90.0, currentValue = 62, programmatically.
When I query the currentValue it returns me 21.8.... and when I query the angle it gives 147.
My calculations are: when starting from Minimum, when reaching 70(middle of max and min) currentValue the angle should be 270/2= 135. So, for 62 angle should be less than 135.
Could you please correct me if I am missing something or provide a fix if this is not working fine?
This is urgent request.
The slider works great, for changing the slider value on UI.
Descrepencies when trying to set current Values of the slider.
I have set following values: maxRotationAngle: 270, minimumValue: 50.0, maximumValue: 90.0, currentValue = 62, programmatically.
When I query the currentValue it returns me 21.8.... and when I query the angle it gives 147.
My calculations are: when starting from Minimum, when reaching 70(middle of max and min) currentValue the angle should be 270/2= 135. So, for 62 angle should be less than 135.
Could you please correct me if I am missing something or provide a fix if this is not working fine?
This is urgent request.
The slider works great, for changing the slider value on UI.