
- Create Frame
- add stuff
- add “Top” as position constraint to the stuff
- add a row layout grid
- Resize the frame’s height
- The stuff does not stay a fixed distance from the top of the frame
Hi
Thanks for reaching out. If I understand correctly, it is an expected behavior.
If your Grids are set to Stretch, Figma will base an object’s Constraints on the grid's nearest Column or Row.
Stretch Layout Grids adapt to the size of the frame. This allows your designs to respond when you resize the frame. Figma will set the width and height of the grid so that it corresponds to the frame size.
When you use Stretch Layout Grids, Figma into account the object's Constraints, relative to the Layout Grid.
Here is the help center article: https://help.figma.com/hc/en-us/articles/360039957934-Combine-Layout-Grids-and-Constraints
I hope this helps but if I’m misunderstanding, please feel free to let me know! Happy to support.
Thanks,
Toku
Perfect, thank you! You understood correctly. This was exactly what I needed. I didn’t know about other options besides stretch. I wanted a 10px margin inside the frame regardless of how the frame got resized. So I needed to change my frame type from stretch, to two top/bottom rows and two left/right columns.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.