NSMenuItem appearance
NSMenuItem appearance
- Subject: NSMenuItem appearance
- From: Lisa Zorn <email@hidden>
- Date: Wed, 26 Jun 2002 21:34:56 -0700
Hello,
I'd like to alter the appearance of a menu item -- specifically, put an
image in it that's _not_ all the way on the left (in the middle of
text), not left justify all text, that kind of thing.
I can do this using this hack:
http://cocoa.mamasam.com/COCOADEV/2002/05/2/34269.php
But then my hack becomes pretty clear when you hover over the menu item
and it's highlighted -- the image of text doesn't highlight the way that
text would.
Does anyone know of a solution? There really ought to be a way I can
customize the appearance of a menu item and have it highlight correctly
but I don't seem to be able to have access to the drawing methods of
NSMenuItem since the cell class and the view classes are deprecated.
If anyone has any examples of apps that have specialized looking menu
items, I'd be interested in that too.
Thanks,
-lisa
_______________________________________________
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.