Thread
#compose
    Colton Idle

    Colton Idle

    1 year ago
    If anyone wants to quickly surround some composables with a row or column, I found a way to do it without any plugins or anything. just use the typical "surround with" shortcut (alt cmd t on mac bindings)
    Filip Wiesner

    Filip Wiesner

    1 year ago
    I think it's easier to just cut the Text components, write "Row" and paste it back in 🤷‍♂️
    Colton Idle

    Colton Idle

    1 year ago
    True. I guess it just annoyed me that compose doesn't come with a standard "surround with" functionality like I got used to in SwiftUi.
    Sean McQuillan [G]

    Sean McQuillan [G]

    1 year ago
    I do this with 1. Add
    Row { \n}
    above 2. Select Text[n] 3. Shift + Up into the lambda
    Chris Sinco [G]

    Chris Sinco [G]

    1 year ago
    FYI we have Compose specific Live Templates now exposed in the Surround popup (screenshot from Canary 14)
    Colton Idle

    Colton Idle

    1 year ago
    Ahh. Awesome! Good timing!