Size of menu or menu item
Size of menu or menu item
- Subject: Size of menu or menu item
- From: Mitchell Livingston <email@hidden>
- Date: Mon, 31 Jul 2006 21:36:26 -0400
I need to find the size or frame of a NSMenu I will generate as a
popup context menu to determine if the menu should be placed above or
below the button i associate it with (like Mail's action button where
it places the menu above the button if the window is too close to the
bottom of the screen). I can't figure out how to get the menu's size
(or even the menu item's size to multiply by the number of items).
Any ideas? Thanks.
-Mitch
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden