Skip to main content

I have this table cell that has a swappable component inside of it. If i swap the default content of the cell with a button, the cell i expect the cell to “hug” the button / expand in height. Instead the button height does not change regardless of set size - sm, md, lg. What am i missing?

Try figure out with details you provided


This makes it clearer, i hope:


Wondering what do you see when you select a button inside that cell? Does it show it hugs or fixed?


The button inside has a fixed height


@unfold_UX


Double check that:



  • The button components are using auto-layout → hug/hug

  • The button instance inside your cell component → hug/hug

  • The main cell component is also auto-layout and has “hug” set on the height.


Get Example File




That’s the root cause, once you fix that to hug contents you’ll be fine


That fixed it. Thank you!


Absolutely! Thank you!