Beginner i figma - Need assistance with expanding layout

Hi!

Beginner in Figma: I need your help.

I have created a “blocks” of texts which expands when clicking on the header.
Its 4 headers with various amounts of text. When all of the headers are expanded its not enough room for it in the frame (Iphone 13), I understand I can expand the frame in order to give space to the text but is there a smart way for the frame to identify this and expand and retract?

Hi Gustaf, it sounds like you want the parent frame that represents the iPhone screen to expand when the blocks (accordions?) expand. This should be possible if you apply auto layout to the frame and have the resizing rules set to hug!

1 Like