NSButtonCell recessed toggling fails in 10.4
NSButtonCell recessed toggling fails in 10.4
- Subject: NSButtonCell recessed toggling fails in 10.4
- From: Mark Woods <email@hidden>
- Date: Fri, 27 Feb 2009 23:24:45 +0000
I'm writing an application that uses the 10.4 Universal SDK for
compatibility reasons. Looking in the NSButtonCell documentation, it
states that recessed cells are supported in 10.4 and above.
However, if I add one and set its mode to Push On Push Off, it doesn't
toggle as expected. It just behaves like a regular button. But if I
set my SDK to 10.5 it toggles properly.
This was just a button I placed in IB - there is no code referencing
it yet, so there is nothing conflicting with it. It is just a regular,
unsubclassed NSButton with its style set to Recessed.
It's worth mentioning that if I switch it to a Gradient button with
Push On Push Off set, it works just fine. Only when I switch it to
Recessed does it refuse to work under 10.4. I've also tried setting
the mode to On Off and Toggle and these make no difference.
Am I doing something wrong or is this functionality not supported in
10.4? I have found no mention of it being Leopard-only in the
documentation. Can someone confirm to me that this is the case?
Thanks.
_______________________________________________
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