• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Width defining NSLayoutConstraint zero
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Width defining NSLayoutConstraint zero
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: NSTask: program launching another program, potential problem with path: how to do?
  • Next by Date: Re: NSButton/NSBox interaction
  • Previous by thread: Re: NSTask: program launching another program, potential problem with path: how to do?
  • Next by thread: Re: Width defining NSLayoutConstraint zero
  • Index(es):
    • Date
    • Thread