Skip to main content

Uneven 'column grid fill' using auto layout

  • February 28, 2024
  • 1 reply
  • 683 views

renco.tampere

How cool would it be if we could create ‘uneven’ auto layout fills? Let me explain:
Currently in auto layout, if we set content blocks to fill on a column grid it fills it evenly. So in a grid of 6 columns this would mean 2-2-2 or 3-3. But what if we want content blocks to span in a 2-4 way? Or a 1-5? All auto-magically using auto layout.
I’ve tried simulating this by applying min & max width to content blocks but this feels/looks strange when resizing your device frame. It doesn’t grow or shrink evenly. It stretches 1 block to it’s max then starts stretching the other block. Same with shrinking.

Allowing percentages in width could allow this to work. Or changing the way min & max constraints shrink & stretch. Just thinking out loud…

Anyone else struggling with this?

This topic has been closed for comments

1 reply

  • Figmate
  • 1925 replies
  • March 1, 2024

A post was merged into an existing topic: Fr/Percent units for more control over auto layout content


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings