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?
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.