Re: [Q] Contextual Menu Items Size
Re: [Q] Contextual Menu Items Size
- Subject: Re: [Q] Contextual Menu Items Size
- From: Nate Weaver <email@hidden>
- Date: Wed, 18 Mar 2009 16:38:46 -0500
Either set the attributed title of the items, or don't use the same
menu instance for your popup and context menu.
On Mar 18, 2009, at 11:38 AM, Eric Gorr wrote:
I have a popup menu whose control size is small.
To a couple of views, I have done the following:
[myView setMenu:[myPopupMenu menu]];
Now, when I control-click on myView, I see the menu that myPopupMenu
will display.
The problem is that if I control-click on myView before I click on
myPopupMenu, the menu items are displayed at their Regular size.
If I click on myPopupMenu first, I see the menu items at a small
size and then if I control-click on myView, the menu items are
displayed at a Small size.
What is the proper way to ensure the menu items are always displayed
at a Small size?
_______________________________________________
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