Skip to main content

Setting min-width to hug

  • August 13, 2024
  • 1 reply
  • 87 views

revvv

I use nested auto layouts for my tables: The table is an auto layout containing columns, and each column is an auto layout containing cells.
I want my table to be responsive, so I set all columns to hug, except the last column, which is set to fill, so that the table spans the whole width of its container. But in smaller screen sizes, if the screen width goes below a certain number, the last column gets clipped/truncated as it’s on ‘fill’. So I set a min-width to ensure it is not clipped. But, right now I need to hard-code the min width. It would be ideal to set the min width to ‘hug’, so that I don’t need to hard-code it or change it every time I update the contents of the last column.

1 reply

dvaliao
Figmate
  • Community Support
  • 4611 replies
  • August 19, 2024

Hey @revvv, thanks for the feedback!

We’ll pass this onto the auto layout team for future consideration.


Reply


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