I have a very simple LnF where I use rectangles for both horizontal and vertical sliders.
I’m using Slider::getLinearPosition() for the drawing. and getLinearPosition uses sliderRegionStart as its reference instead of 0.
the problem is that there is an additionnal indent:
calculated like that:
getSliderThumbRadius() already returns 0 in my LnF, but I still have that 2 pixel offset.
it would be great to be able to get rid of that “+ 2” in Slider::resized();