Attributed menu titles
Attributed menu titles
- Subject: Attributed menu titles
- From: "Kiel Gillard" <email@hidden>
- Date: Thu, 10 Jul 2008 09:42:27 +1000
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 (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