Re: Suggestions for forcing NSSlider to some values, without tickmarks
Re: Suggestions for forcing NSSlider to some values, without tickmarks
- Subject: Re: Suggestions for forcing NSSlider to some values, without tickmarks
- From: Graham Cox <email@hidden>
- Date: Fri, 02 Mar 2012 11:12:48 +1100
On 02/03/2012, at 11:00 AM, Sean McBride wrote:
> Any suggested subclassing points? That's where I'm stuck really...
Look at NSSliderCell. What I'd suggest is setting a single tick mark, and have your subclass treat it as a centred tick mark. Your subclass might not even draw it, but the slider would act as if it were there. I would imagine this would require the minimum of overrides, but I haven't studied it any more closely than that.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden