Suggestions for forcing NSSlider to some values, without tickmarks
Suggestions for forcing NSSlider to some values, without tickmarks
- Subject: Suggestions for forcing NSSlider to some values, without tickmarks
- From: Sean McBride <email@hidden>
- Date: Thu, 01 Mar 2012 16:18:27 -0500
- Organization: Rogue Research Inc.
Hi all,
I have a continuous linear NSSlider who's range is -180 to 180 degrees. I don't want tick marks because any value is acceptable. However, the value zero is important, and I need for the user to be able to get to exactly 0.0 (0.1 or whatever is no good).
How would you suggest accomplishing this?
(In the past, I cheated and forced the slider to be an even number of pixels long, which did the job. This fragile solution broke in 10.7.)
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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