Skip to main content
Powers
Jan 25, 2021 3:10 PM UTC

LAUNCHED: Wrap elements in Auto Layout to multiple lines

It would be really great if there was an option in an auto layout frame where the frame would wrap the objects to the next line. Like this. Objects would respect the padding set in the Auto layout.

Loom

    254 replies

    Mihai_Marcu
    New Participant
    Jun 29, 2023 11:58 AM UTC

    Wrap-reverse is not supported, yet 😃

    Mihai_Marcu
    New Participant
    Jun 29, 2023 12:06 PM UTC

    Unfortunately this isn’t supported. In order to do this in css you would use flex-grow on the slots. Figma has min-width and max-width, but in this case we would need an option to tell the slots to stay the same width as the others and not grow. In css this would be flex-grow: 0.

    Mihai_Marcu
    New Participant
    Jun 29, 2023 12:09 PM UTC

    @Chris_Kerr1 This is also on the same lines as your request. I think for now you could use the variables and create breakpoints and thus setting the width of object based on the breakpoint. This will result in something closer to the desired outcome.

    djv
    Figmate
    Community Support
    Jul 5, 2023 6:23 PM UTC

    Launched during Config 2023: Auto layout updates Three words: Wrap, min, max—that’s right, spend less time manually resizing and more time creating components and layouts that are much more responsive. Here’s what’s new: twitter.com