Skip to main content
Question

Auto layout without properties enabled doesn't hug content


Julia_Dirand

I have created a component with 2 properties

  • Icon
  • Description

The component has an auto layout hug content.

If I toggle off the two properties (false for icon and description), the auto layout doesn’t hug the content.

Any reason or is this a bug?

This topic has been closed for replies.

2 replies

Klesus
  • 237 replies
  • July 6, 2022

Doubt it’s a bug. 0 size frames would make it impossible to drop content inside.
Another way to see it is that autolayout hugs content, so if there’s no content there’s nothing to hug and it does nothing.

Here you can follow a discussion about it


  • 0 replies
  • August 5, 2022

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


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