Re: NSTextField highlight
Re: NSTextField highlight
- Subject: Re: NSTextField highlight
- From: Ken Thomases <email@hidden>
- Date: Mon, 02 Mar 2015 16:34:28 -0600
On Mar 2, 2015, at 3:51 PM, edward taffel <email@hidden> wrote:
> has anyone had success in changing NSTextField’s default highlight? e.g., given bright text on a dark background, the default highlight is not serviceable. i had hoped subclassing NSTextFieldCell & overriding -(id)_highlightColorForCell:(NSCell*)cell would work, as it does in instances of NSTextFieldCell in NSTableView. googling has not returned any simple direction—perhaps i’ve missed something.
Have you set the cell's backgroundStyle to NSBackgroundStyleDark?
Regards,
Ken
_______________________________________________
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