Skip to main content
Question

AutoLayout Not Resizing Correctly


McKinley

Autolayout with hug content on width or height should resize to zero (or whatever the applied padding is) when all content is hidden. Now when all contents are hidden it remains as the dimensions of the last visible item it had. Anyone have a workaround or know if there is a way to avoid this bug?

This topic has been closed for comments

6 replies

RenataWaskiewicz

Is your last item not set to “fixed” height? make sure is also “hug”


IraX
  • Active Member
  • 145 replies
  • May 22, 2023

I am also experiencing this. The container with auto layout has its height set to “Hug contents” with no vertical spacing, and no vertical padding, and child element heights are also “Hug contents”.

However, the issue seems to be from what occurs when you hide layers because their height automatically changes to “Fixed”. BUT even just deleting the layers at once still leaves the container at its previous height despite still being set to “Hug contents”.

Something’s up with this.


Diana_Tatarenko

Any updates on that? Still having this issue.


ksn
Figmate
  • Community Support
  • 1643 replies
  • June 3, 2024

Hi @Diana_Tatarenko - first, I’m going to split your topic into a new one, since the one you comment on is outdated. That way, your conversation can surface better.


ksn
Figmate
  • Community Support
  • 1643 replies
  • June 3, 2024

A post was split to a new topic: Issue with auto layout resizing


ksn
Figmate
  • Community Support
  • 1643 replies
  • June 3, 2024

A post was merged into an existing topic: Issue with auto layout resizing


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