Re: NSMatrix used as menu item's view appears wrong
Re: NSMatrix used as menu item's view appears wrong
- Subject: Re: NSMatrix used as menu item's view appears wrong
- From: Uli Kusterer <email@hidden>
- Date: Wed, 29 May 2013 01:08:55 +0200
On 28.05.2013, at 23:50, Steve Mills <email@hidden> wrote:
> I have a popup whose menu contains 1 item that uses a view, followed by a bunch of hidden menu items. The first time I pop up the menu, it looks correct. Every time after that, the view is scrolled way off the top with only a tiny bit still visible. Screenshots at:
Popup buttons are really intended to be used for selecting from various options, each of which is a menu item. As such, they select whatever item was last selected, and try to scroll it into view.
My guess is this is what's happening in your case: It "selects" an item number beyond your NSMatrix, and scrolls it into view, thus scrolling your matrix off-screen. Could that be it? I admit I would expect a little "continuation" arrow at the bottom of your menu in that case, though.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.lookandfeelcast.com
_______________________________________________
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