• 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
Re: NSMatrix used as menu item's view appears wrong
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSMatrix used as menu item's view appears wrong
      • From: Steve Mills <email@hidden>
References: 
 >NSMatrix used as menu item's view appears wrong (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: NSMapTable with C strings as keys
  • Next by Date: Re: Building an MVC based App for Mac OS X - NOT for iOS
  • Previous by thread: NSMatrix used as menu item's view appears wrong
  • Next by thread: Re: NSMatrix used as menu item's view appears wrong
  • Index(es):
    • Date
    • Thread