On 17 Mar 2013, at 12:38 AM, Chuck Soper <chu...@veladg.com> 
> Each subview has an "NSLayoutConstraint * widthConstraint;" ivar that
> holds the absolute width. Visually, it looks like this:
> @"H:[subview(==120)]"
> 
> 
> I also added some minimum width and height constraints that look like this:
> @"H:[subview(>=80)]" and @"V:[subview(>=70)]"
> 

This is the source of the ambiguity, you're requiring the width to be exactly 
equal 120 and be anything >=80. 

It's working in your case because the constraint it is breaking is the==120 one 
but I don't know if there is a guarantee that it will always break that one. 

I'm not sure why you would have to set both the constraints, setting the 
absolute width seems like something that should be done via the intrinsic size. 

Iain
_______________________________________________

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