• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMatrix used as menu item's view appears wrong
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSMatrix used as menu item's view appears wrong
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: NSMapTable with C strings as keys
  • Next by Date: Nib image caching
  • Previous by thread: Re: NSSlider, NSStepper, and NSTextfield with Bindings: how to display initial value?
  • Next by thread: Re: NSMatrix used as menu item's view appears wrong
  • Index(es):
    • Date
    • Thread