NSMatrix used as menu item's view appears wrong
NSMatrix used as menu item's view appears wrong
- Subject: NSMatrix used as menu item's view appears wrong
- From: Steve Mills <email@hidden>
- Date: Tue, 28 May 2013 16:50:09 -0500
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:
https://www.dropbox.com/s/ggzuq19o1ziy8av/menu-item-view-wrong.png
Obviously, the top part is wrong and the top part is how it's supposed to look. I can flick my scrollwheel/trackpad and it will correct the placement of the view within the menu item.
The view set on the menu item is an NSMatrix containing NSButtonCells. No, this is not the only time I see this problem. Another popup has a menu item whose view is an NSBrowser, and it too will display off the top of the menu item just like the example.
Any ideas?
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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