Skip to main content

Hi everyone! after using auto layouts for my two posts, the spacing didn’t adjust if I tried to add more contents in the text part. Would really appreciate if anyone can help me with the issue, thanks in advance.

It’s hard to tell exactly from just the screenshot but it looks like you’ll need to add autolayout to the nested instances as well. Do the Sample Posts have autolayout applied to them?




I just made sure each sample posts are applied with autolayout, but it still doesn’t work. Are there any other ways I could do?


Any chance you could share a file here so we can take a closer look?


https://www.figma.com/file/OAUk34jUgF26uJ9QbPxSZc/Untitled?type=design&node-id=6%3A199&mode=design&t=uNKFiUcl47c6e5Ds-1 Here you go!


Thanks! Ah it looks like the instance called Sample post is set to a fixed height which is why it’s not adapting to the text of the post. Make sure to set that to Hug contents. You’ll also want to set the test to be auto height instead of fixed height.


I made some edits directly in that file. Let me know if you have any other questions.


Thanks so much Josh! I have no further questions


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.