Re: Stop NSSplitView from resizing with Window?
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