In OS X, I have a NSSplitView
with 3 subviews stacked vertically: A, B, C.
View B has a minimum height constraint. If I push the B-C divider upwards, it stops when the constraint is reached, as it should.
I would like, however, to have divider A-B push upwards as well, when the min. height constraint of B is reached (and there is no other constraint in A).
Conversely, if there is a max. height constraint in B and I pull the B-C divider downwards, I'd like divider A-B to follow (other constraints permitting).
Is there any way to achieve this with AutoLayout? If not, could you suggest an approach/point to a relevant resource?
Thanks.