Re: A 'small' NSMenu
Re: A 'small' NSMenu
- Subject: Re: A 'small' NSMenu
- From: Nicholas Shanks <email@hidden>
- Date: Tue, 22 Mar 2005 00:34:44 +0000
On 19 Feb 2004, at 14:25, I wrote:
Hello,
I searched in the archives, but did not find anything useful. So
again the
question: How to make a NSMenu (which I want to use as a contextual
menu)
small?
You could try creating an offscreen NSPopUpButton and setting it's
size to small, populating it's menu and then displaying the menu when
you want it.
- Nick.
Did you manage to get this working?
I have a custom pop-up button cell class, which in my button's awake
from nib method substitute for the generic class and try copying over
all the cell properties. For some reason the new cell is now giving me
Normal-sized menus instead of small or mini menus :-(
Maybe someone else can help?
How can I programatically get a pop-up button's menu to reflect the
pop-up button's -controlSize ?
- Nick.
_______________________________________________
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