• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMenuItem appearance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Re: What's wrong with "symbol" fonts?
  • Next by Date: Re: What's wrong with "symbol" fonts?
  • Previous by thread: Re: Hyperlinks in Cocoa(Obj-C)
  • Next by thread: Re: What's STILL wrong with "symbol" fonts?
  • Index(es):
    • Date
    • Thread