isnt there a method to set the appearance of a slider?

whitesaint

cocoa love
isn't there a method to set the appearance of the knob in front of the slider? I have found methods only to change the bar in the background. Does anyone know of any methods to change the appearance of the knob in the slider? No one is probably gonna reply to this, either cuz they dont know too much about Cocoa, or they don't really care. Thanks in advance.

-whitesaint
 
You can change it's length or height via setKnobThickness (length for horizontal scroller, height for vertical scroller). If you're looking to put some other graphic there instead of the default widget...I'm not sure.

There's a drawKnob: method in NSSliderCell, so perhaps you can do that. Read the doc on it.
 
Back
Top