Width defining NSLayoutConstraint zero
Width defining NSLayoutConstraint zero
- Subject: Width defining NSLayoutConstraint zero
- From: Jonathan Mitchell <email@hidden>
- Date: Thu, 10 Apr 2014 14:25:35 +0100
On some occasions I want my controls to collapse and set a width defining constraint constant to zero.
In some cases, say a checkbox, an onscreen artefact remains.
I presume that this is because the constraint is defining the layout rather than the frame rectangle.
Is the only workaround to wrap such controls in another view and collapse the superview instead?
Jonathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden