drawLinearSlider gives me the same value for minSliderPos and maxSliderPos

I use drawLinearSlider() and there is param maxSliderPos which in my case is always the same as minSliderPos.

Those params are defined somewhere in Slider::Pimpl and I can’t find the way to debug it to follow the rules of defining maxSliderPos and minSliderPos. Please could anyone give me any advice what could be wrong in my code. Is it something that should be managed in getSliderLayout or maybe it has something to do with Slider::setRange()?

For any help great thanks in advance.
Best regards.

from the back of my head these two getters are only relevant for two value sliders (sliders having two adjustable positions, a min and a max position).

Aha… Ok, so thanks. Now I understand.

See here: