Possible bug with NSBackgroundStyleRaised
Possible bug with NSBackgroundStyleRaised
- Subject: Possible bug with NSBackgroundStyleRaised
- From: PCWiz <email@hidden>
- Date: Tue, 29 Dec 2009 12:17:46 -0700
I'm using this in my NSTextField subclass to get a recessed text style:
[[self cell] setBackgroundStyle:NSBackgroundStyleRaised];
It works fine other than the fact that if the text field's NSAttributedString contains any text with an alternate text color set (using NSForegroudColorAttributeName) the recessed style does not appear for the entire text contents of the text field, not just the colored text. Is this a bug or is there a good reason for this to happen?
Independent Cocoa Developer, Macatomy Software
http://macatomy.com
_______________________________________________
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