Hi Ken,

Thanks a lot for this.
> You should set leading and trailing constraints between the stack view and 
> the clip view so that the stack view is as wide as the clip view.

I’ve got the following constraints on the StackView:

Horizontal Space  StackView.Trailing   Equal FlippedClipView.Trailing    0, 
1000, 1
Vertical Space      StackView.Top        Equal FlippedClipView.top          0, 
1000, 1
Horizontal Space  StackView.Leading  Equal FlippedClipView.Leading  0, 1000, 1

Is this correct or do I need to change or add something? 

I’m trying to get this part right before start tweaking the Priorities etc.

> Other than that, you need to set the horizontal hugging priority of the stack 
> view and then the constraints, content hugging priorities, and compression 
> resistances of the views within the detail view to allow them to adjust 
> themselves to the width.
> 

Cheers
Dave


_______________________________________________

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