Skip to main content
Question

Autolayout not hugging in expected way


Holly_Williams1

I keep getting this issue when adding autolayout to two frames. Usually, I would expect the new autolayout frame to hug both elements, and depending on where the two child frames were, they would either align top-bottom or left-right. However the issue I’ve been having is that when I try to add autolayout, the autolayout frame only hugs to one of the frames. This is extremely confusing and I can’t seem to fix it. I can’t seem to get it to hug both child frames without resizing it, however this doesn’t automatically adjust to hug, it just sets it to a fixed height or width.

This topic has been closed for comments

2 replies

dvaliao
Figmate
  • Community Support
  • 4603 replies
  • January 19, 2024

2 posts were merged into an existing topic: Auto layout makes contents absolutely positioned


dvaliao
Figmate
  • Community Support
  • 4603 replies
  • January 19, 2024

Hey there, glad to hear you figured it out!

We’ve merged your topic with a similar exisiting one in the community that explains this behavior in further detail.


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