• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Suggestions for forcing NSSlider to some values, without tickmarks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Suggestions for forcing NSSlider to some values, without tickmarks
      • From: Quincey Morris <email@hidden>
    • Re: Suggestions for forcing NSSlider to some values, without tickmarks
      • From: Graham Cox <email@hidden>
    • Re: Suggestions for forcing NSSlider to some values, without tickmarks
      • From: Marco Tabini <email@hidden>
  • Prev by Date: iPhone search and notification widgets
  • Next by Date: Re: Who is responsible for removing observers in longer key paths
  • Previous by thread: Re: iPhone search and notification widgets
  • Next by thread: Re: Suggestions for forcing NSSlider to some values, without tickmarks
  • Index(es):
    • Date
    • Thread