I've been seeing some strange behaviour when setting a slider control's thumb position in the code.
I created a small test app to make sure it wasn't something I'd missed in the code, and the behaviour is still there. On occasions, the slider "set thumbposition" method sets the slider thumbposition to a value lower than the one you specify. Experimentation has shown that
1) the under setting is equal to 1% of the slider range.
2) setting it to the same number twice works the second time
3) The behaviour is identical in the companion and in the built app.
4) The behaviour is identical on two separate devices
In the attached app,
"set to 100" sets to 95.81, then to 100
"set to 200" sets to 195.61, then to 200
"add 10" to 100 adds 5.79 first time, and 10 thereafter
"add 10" to 95.81 adds 10!
"take 10" takes off 15 (ish) each time
Any thoughts?
Jeremy