Re: NSSegmentedControl drawing problems in unified toolbar
Re: NSSegmentedControl drawing problems in unified toolbar
- Subject: Re: NSSegmentedControl drawing problems in unified toolbar
- From: Seth Willits <email@hidden>
- Date: Mon, 6 Feb 2006 12:30:40 -0800
On Feb 6, 2006, at 12:03 PM, Todd Yandell wrote:
Here's a custom subclass of NSSegmentedControl I made to get around
that bug. It uses a private method, but it still works nicely. Feel
free to do whatever you want with this code:
This will change the style to force it to be aqua, but this also
blocks the control from switching selected segments.
I, personally, was looking for a solution to make it always appear in
the unified/metal appearance. I overrided _isTextured in
NSSegmentedCell and always returned true, which works, but there's no
small size, and when you drag the control in a toolbar it still
reverts to the Aqua appearance.
A custom control solution really is necessary it looks like.
--
Seth Willits
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden