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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to