• 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
Trouble with NSView resizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble with NSView resizing


  • Subject: Trouble with NSView resizing
  • From: Rick Mann <email@hidden>
  • Date: Sat, 26 Mar 2011 23:22:14 -0700

I've got a lot more experience manipulating views in iOS than I do in Mac OS X, so forgive me if this is a stupid question.

I have a plug-in based app that behaves a lot like IB 3 does. The user can select one of the instances of a plug-in element in a canvas, and an inspector window changes its configuration to correspond to that selected object (think of it as a view in a NIB).

My code gets the inspector views from each plug-in and adds them to a container view in my inspector window. The problem is that if I resize the inspector window, the views are pinned to the right edge, and worse, move *upward* as I grow the window downward. They'll keep going 'till the go *over* the panel's title bar, and then they're clipped by the outer boundary of the panel.

My regular windows, into which views from the plug-ins are also installed, behave as you would expect.

What am I missing? Reading through the docs on NSPanel differences doesn't reveal anything obvious. Running my panel in test mode from IB (which is very basic there, with few views) behaves the same way.

Thanks for the help!

--
Rick

_______________________________________________

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: Trouble with NSView resizing
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: doesNotRecognizeSelector exception
  • Next by Date: Re: Trouble with NSView resizing
  • Previous by thread: Re: doesNotRecognizeSelector exception
  • Next by thread: Re: Trouble with NSView resizing
  • Index(es):
    • Date
    • Thread