Re: Changing the Text Color of an NSMenuItem in an NSPopUpButton?
Re: Changing the Text Color of an NSMenuItem in an NSPopUpButton?
- Subject: Re: Changing the Text Color of an NSMenuItem in an NSPopUpButton?
- From: Dan Crevier <email@hidden>
- Date: Thu, 16 May 2002 21:32:29 -0700
Actually, the Carbon way to do this stopped working on OS X. I don't think
it's possible to color menu items on OS X without writing a custom menu
definition.
Dan
On 5/16/2002 4:01 PM, "Rosyna" <email@hidden> wrote:
>
Which is generally done in italics to show an error when a color will
>
not work. However, I am not aware of anyway to set the menu
>
color/style/font without actually getting the Carbon Menu from the
>
Cocoa menu (all the cocoa calls to do this were sadly removed, I
>
guess someone could make a category or something that brings them
>
back....)
>
>
Ack, at 5/16/02, email@hidden said:
>
>
> As a UI note: the colors you name suggest that you're intending to
>
> use the color as an indicator of some sort (an error indicator, I'd
>
> guess, that being what red is often used for). If so, keep in mind
>
> that not everyone can tell red from black (totally colorblind people
>
> will just see shades of grey, which are much less distinctive),
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.