• 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: Stop NSSplitView from resizing with Window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stop NSSplitView from resizing with Window?


  • Subject: Re: Stop NSSplitView from resizing with Window?
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 12 Oct 2006 19:09:38 -0600


On Oct 12, 2006, at 6:39 PM, Brian Amerige wrote:

I've been searching around for a bit, and can't seem to find the answer to how I can get my NSSplitView from automatically resizing with the Window as I resize it. I'd like the splitview (exactly like Mail, or iTunes, for example) to stay in place as I resize the window.

You need to add the delegate method - splitView:resizeSubviewsWithOldSize: to the split view's delegate, and pay attention to whether or not the split view is in a live resize. If it's in a live resize, then you need to keep the size of one view constant while resizing the other view.


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Stop NSSplitView from resizing with Window? (From: Brian Amerige <email@hidden>)

  • Prev by Date: Re: sheets in separate nibs
  • Next by Date: Re: Changing tool tip while it is showing
  • Previous by thread: Stop NSSplitView from resizing with Window?
  • Next by thread: Re: Stop NSSplitView from resizing with Window?
  • Index(es):
    • Date
    • Thread