On 3/1/12 4:13 PM, Graham Cox wrote:
>
> On 02/03/2012, at 11:00 AM, Sean McBride wrote:
>
>> Any suggested subclassing points? That's where I'm stuck really...
>
>
>
> Wait. If you only set one tick mark, it is centred anyway does that not
> do the job for you?
Setting a tick mark has
On Mar 1, 2012, at 13:18 , Sean McBride wrote:
> 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 whatev
On 02/03/2012, at 11:00 AM, Sean McBride wrote:
> Any suggested subclassing points? That's where I'm stuck really...
Wait. If you only set one tick mark, it is centred anyway does that not do
the job for you?
--Graham
___
Cocoa-dev mailing
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 sli
On Fri, 2 Mar 2012 10:31:29 +1100, Graham Cox said:
>I guess what might be nice is a tendency for it to "snap" to the zero
>position when the slider is dragged close to it.
Yes, that's what I'm looking for.
> You might be able to do
>that with a standard slider by manipulating the values close t
On 02/03/2012, at 8:18 AM, Sean McBride wrote:
> 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
>
On 2012-03-01, at 4:18 PM, Sean McBride wrote:
> 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
> (
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 accompli