• 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
Auto layout without ambiguity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Auto layout without ambiguity


  • Subject: Auto layout without ambiguity
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Sat, 01 Nov 2014 23:17:34 +0700

10.10

From left to right:

fixed distance from super view
Label
fixed distance
TextField  (this should be ≥ something, otherwise fitting to content)
fixed distance
Label
variable distance (≥ some minimum)
Button
fixed distance to super view

When I set the width of TextField to ≥ something, Xcode (6.1) complains about ambiguity.
I tried to set the horizontal content hugging value of the TextField to max (1000) but still get ambiguity.

So I have to set width of TextField to = something, which does not look very nice.

How to solve this?

Gerriet.


_______________________________________________

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: Auto layout without ambiguity
      • From: Roland King <email@hidden>
    • Re: Auto layout without ambiguity
      • From: Marco S Hyman <email@hidden>
  • Prev by Date: Editing NSOutlineView Group Item
  • Next by Date: Re: Auto layout without ambiguity
  • Previous by thread: Re: Editing NSOutlineView Group Item
  • Next by thread: Re: Auto layout without ambiguity
  • Index(es):
    • Date
    • Thread