Feature/inverted slider 2025
Changed slider value calculation to allow inverting the slider by switching minimum and maximum boundaries. Closes #4705
My initial intention was to invert the values, but that makes more sense together with also inverting the drawing. I added that to the cosmic, cupertino, fluent and material style. The material style has some bug when drawing the sliders vertical, but that doesn't seem to be related with my changes. I added some variants of the slider to the gallery example.
For the qt-backend: I changed the min/max boundary of the value. But I have not figured out how to render the inverted slider correct, yet.
Is this PR still valid? @FloVanGH have the requested changes been done?
Is this PR still valid? @FloVanGH have the requested changes been done?
The qt inverted slider still does not work.
I have also noticed, that in the slider example on the gallery the layout flickers. I think it would make sense to round the values to display it as text.