I have a problem with Auto Layout, it stopped working the way it used to.
For example, these are the steps I always use when creating an auto layout frame, but it doesn’t work any more, except for when the element inside the frame is text.
Create a rectange (this will become the frame)
Create the element inside (it can be a text field or any other element)
Place the element inside the rectangle
Select both the rectangle created at #1 and the element placed inside the rectangle and hit Auto Layout
RESULT: if the element is a text field, it works fine, just like it used to. If the element is anytning other than a text field, it doesn’t work. Basically the rectangle turns into a frame, as expected, Auto Layout is turned on, but in reality it doesn’t do anything, it behaves simply as a frame without Auto Layout.
Please check out this video I made, the example with the text is exactly how it should work and used to work.
What do you mean the upper rectangle is positioned absolutely inside the created auto layout? I’m not sure I follow.
The thing is, in the very recent past, the way the auto layout behaved in the text field example in the video, used to be the same for anything else, like components, shapes, other frames etc. Now it’s just the text. The way the text example works is the auto layout turns the rectangle into a a frame, giving it paddings. In the other two examples, the rectangle remains a rectangle, even though the exact same steps are taken.
It was a suddon change, I was simply used to another way. I was also used to automatically converting a rectangle to a frame when enabling auto layout, it doesn’t happen any more, the behavior simply changed drastically
Just now I faced the same issue, then came across this thread, so I am not alone.
I wanted to create a button, here are steps that I took
Selected a text and an icon, hit the auto layout, frame text+icon got created.
Created a rectangle of desired size
Put the text+ icon frame over the rectangle
selected the rectangle and text+icon frame
Hit the auto layout button
What I expected was a button will be created with auto layout, and there I can adjust the vertical and horizontal spacings inside the button. (This used to happen earlier and that was way more convinient)
But now the text+icon frame is positioned absolutely
Basically, if you would have a rectangle and above it some any other elements (paths, text etc.), if you would hit the Auto Layout button, that rectangle would become the frame in which all those elements would stay.
It does feel pretty weird, especially since we were all used to having a rectangle turn into the frame when adding auto layout. We were also used to everything positioning based on the auto layout. It works strange now, but I did get used to it, but the previous way was better and smarter imo.
Yes only works for text for me. Was watching a Figma tutorial that’s a year old and was about to pull my hair out as I couldn’t get some shapes to be properly auto layout’d like they were being in the video. Only text works for some dumb reason. Glad I’m not alone i suppose hahah