Slider Style Problem
-
If a SliderStyle is used AND a negative minimumValue is used, the slider's handle goes off its groove. Like this...
"Screenshot":http://jawad.zenfolio.com/p887006741/e7e048184This happens even if the SliderStyle is empty (so probably not something I did wrong):
@ Slider {
id: sld
minimumValue: -1.0
maximumValue: 1.0style: SliderStyle {} }
@
Is there a solution for this ?
Am I doing something wrong?Thanks for your help !
-
That looks like a bug. You might change the slider range to 0 - 2 and adjust the values before reading/writing it.
-
jsprenkle: Thanks for your reply.
Can anyone from Digia/Qt also confirm that its a bug.
If so - when can a solution be expected?Thanks
-
first result when searching google for "qt bug negative slider"
-
Actually negative values work correctly. Only when a style is applied to the the slider the behavior I reported is noticed.
-
I can confirm that this looks like a valid bug. This is certainly a styling issue as it does not affect desktop styled controls.
Can you verify that it was not already fixed in 5.1.1 and if so please report it through the bug tracker.
-
Downloaded 5.1.1 and this problem seems to have been resolved in that update.