[Q] NSPopupButton: always show entire menu
[Q] NSPopupButton: always show entire menu
- Subject: [Q] NSPopupButton: always show entire menu
- From: Eric Gorr <email@hidden>
- Date: Mon, 15 Jun 2009 23:58:17 -0400
I have a popup button on a NSPanel with several items in it.
When the NSPanel is close enough to the bottom of the screen, the menu
pops up above the control and all of the menu items appear. If the
NSPanel is far enough away from the bottom of the screen, the menu
pops up below the control and all of the menu items appear.
So far, so good.
However, if the NSPanel is just close enough to the bottom of the
screen, the menu pops up below the control and you get the scroll
arrow telling you there are more items available. Now, if the menu has
popped up above the control, all of the menu items could have appeared.
Is there a way to tell a NSPopupButton to display all of the menus
items if they will fit on the screen?
_______________________________________________
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