Auto layout without properties enabled doesn't hug content

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?

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

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