Proportional auto-layout - width/height and max/min

To my knowledge, no, and that would be a great feature.

Some exceptions:

  • Equal parts layout (50-50, 25-25-25-25, and so on): using “Fill container”, you can have content grow to use space in equal parts (if you have two elements, they’ll each take half of the container, 3 will take a third, etc)
  • Column layout: without using auto layout, you can use the columns and constraints to have content resize according to columns. But as a “normal frame”, this is limited to one dimension. This was discussed here.

There might be some other ways to achieve this but not that I’m currently aware of.

4 Likes