Re: NSMenuItem and images
Re: NSMenuItem and images
- Subject: Re: NSMenuItem and images
- From: "Adam R. Maxwell" <email@hidden>
- Date: Mon, 28 Apr 2008 06:48:48 -0700
On Apr 28, 2008, at 6:33 AM, Hamish Allan wrote:
On Mon, Apr 28, 2008 at 2:21 PM, Adam R. Maxwell <email@hidden>
wrote:
It's documented to return 0 for all menus except -[NSApp
mainMenu]. Maybe
all other items are the same height as the main menu?
Even if not, it's probably still a better bet than hard-coding it...
I just don't trust that method, since the main menu bar has always
looked taller than a menu item, and it could easily change without
changing menu item height. What I want is something akin to -
[NSMenuView rectOfItemAtIndex:].
--
adam
_______________________________________________
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