Hi all,
I have a menu of items whose titles are attributed strings. I have specified
custom colours for parts of those strings. The documentation reads:

If you do not set a text color for the attributed string, it is black when
not selected, white when selected, and gray when disabled. Colored text
remains unchanged when selected.

Is there some way to provide a colour for the NSMenuItem's attributedTitle
when the item is selected or disabled? For example, is there some key I can
set in an attributes dictionary that allows me to specify a colour to use
when either of these cases occurs? Have I overlooked or missed something in
the documentation?

Thanks,

Kiel
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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