Questions on the new Slider Class


#1

I’m trying to convert my project to Juce 1.12, i’m using a custom image about 40 pixels long as my handle for a vertical slider. problem is i’m cliping the image at the min and max values of the slider. i need some way of setting the drag distance with in the slider component so the fader handle will fit properly. i see there are some new methods called “proportionOfLengthToValue” and "valueToProportionOfLength"
but trying to set these methods to 0.5 yeilded no result. Anyone know exactly what these methods do and if there is any way to change the mouse drag distances with in the slider component with out having to override the mouse drag method itself

Thanks


#2

ah - good point. I’ll update the lookandfeel class in the next version so you can set the slider thumb size.


#3