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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to