Re: Trouble with Leopard's newly enhanced NSSplitView
Re: Trouble with Leopard's newly enhanced NSSplitView
- Subject: Re: Trouble with Leopard's newly enhanced NSSplitView
- From: Rainer Brockerhoff <email@hidden>
- Date: Wed, 19 Dec 2007 13:56:26 -0200
At 07:20 -0800 19/12/2007, email@hidden wrote:
>From: Frank Reiff <email@hidden>
>References: <email@hidden>
>In-Reply-To: <email@hidden>
>Date: Wed, 19 Dec 2007 10:35:29 +0100
>Message-ID: <email@hidden>
>
>Right,
>
>It looks like I'm going to have to go down the RBSplitView route then..
>
>On 18 Dec 2007, at 10:05, Frank Reiff wrote:
>>What I want is a three view (2 vertical splitters) with the central view being of fixed size, e.g.
>>
>><-->| |<-->
>>
>>When I pull the left splitter towards the right, the left view should get bigger, the central view stay the same size and the right view get smaller, e.g.
>>
>><--->| |<->
>>
>>When I pull the left splitter towards the left, the left view should get smaller and the right view larger:
>>
>><->| |<--->
>>
>>....
>>The essential thing is that the central view should "slide" around.
RBSplitView should do most of what you want; just set the min and max sizes of the central view to the same fixed number. Collapsing etc. will also work just by setting parameters in IB.
However, the current version won't work by dragging the fixed view "behind" the mouse movement; I'll try to do this in the next version. It will allow you to push the fixed view ahead of the movement, though. Sorry about that.
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
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