0

I have a simple view with a few labels, textfields and a big NSTextField that spans across the remaining interface.

I can setup auto layout so that the text field spans over the width of the window, but as soon as I add the last contraint Bottom space to container to its super view the window can no longer be resized.

These are my constraints:

constraints

So currently I have to omit this constraint and I end up with the following result:

See Screenshot

enter image description here

Besi
  • 22,579
  • 24
  • 131
  • 223

1 Answers1

0

You need to fiddle with priorities on the constraints. Especially consider doing this on the height constraint.

uchuugaka
  • 12,679
  • 6
  • 37
  • 55
  • But I set the height to "Greater than ..." so this should not be contradictive to changing the window's height. – Besi Apr 21 '14 at 13:30