On Sep 19, 2010, at 11:55 AM, "jonat...@mugginsoft.com" 
<jonat...@mugginsoft.com> wrote:

> 
> On 19 Sep 2010, at 18:14, Geoffrey Holden wrote:
> 
>> I am trying to set up a window with three resizable panes.  Currently, I 
>> have done this by dragging an NSSplitView into my window (in IB) and then 
>> dragging another NSSplitView into that:
>> 
>> +NSSplitView
>> |--+NSView
>> |  '-NSTableView
>> |
>> |--+NSView
>> |  '-NSSplitView
>> |
>> 
> I too did exactly the same the first time I tried this. But the solution is 
> much easier.
> In IB just draw another custom view onto the bottom or left edge of the 
> NSSplitView.
> A red line will appear to indicate that you have hit the sweet spot.
> Drop the view and it will create another pane within the splitview.
> 

It might be easier to drop the new view onto the split view in the document 
window (in tree mode).

NSSplitView puts splitters between all of its subviews. You only need to embed 
a split view in another if you want to have both vertical and horizontal splits.

--Kyle Sluder_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to