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?
Page 1 / 1
Try figure out with details you provided
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
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.
That’s the root cause, once you fix that to hug contents you’ll be fine
That fixed it. Thank you!
Absolutely! Thank you!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.