I'm trying to rework a window to use auto layout, and I'm stuck.

The window consists of several nested split views, roughly as shown below.  A 
is one side of the main split view, and the right side is further split into B 
and another view, which contains yet another split view holding views C and D.

 ____________
|   |   |   |
| A | C | D |
|   |___|___|
|   |       |
|   |   B   |
|   |       |
-------------

D can be collapsed. So if the user drags the divider to the right, when D gets 
too small, it is collapsed. But when I try to set the window up using auto 
layout, when the divider is dragged to the minimum size for D, view C keeps 
expanding while view D remains the same size, and view A starts shrinking 
instead. Similarly, if the user changes the C split to horizontal, dragging 
down results in B shrinking.

What I'm trying to achieve is to isolate the behavior when dragging a divider 
so that only the owning split view responds. And I'm not sure how to go about 
that.

-- 
Shane Stanley <sstan...@myriad-com.com.au>
<www.macosxautomation.com/applescript/apps/>

_______________________________________________

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

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

Reply via email to