Thread
#compose
    Lukas K-G

    Lukas K-G

    1 year ago
    I would like to align some text in different Rows by the longest text before it. I.e.
    Auto
    Normal
    and
    Auto
    should start at the same offset depending on the longest text in the previous “column” (visualized in green). Any ideas how I achieve do that? 🤔
    d

    Denis

    1 year ago
    Maybe put columns in different Columns?
    Lukas K-G

    Lukas K-G

    1 year ago
    Hmm, that would probably be an option, it does not really fit my composable structure as all menu items are a separate composable. I was thinking if there might be something like a
    SharedSizeGroup
    as in WPF?
    It may be a bit old
    Because what you're asking seems like a table structure
    Lukas K-G

    Lukas K-G

    1 year ago
    Yes, but my component structure is not. Each of these rows is intended to be a clickable menu item. 😟
    BenjO

    BenjO

    1 year ago
    I'm not sure to understand your requirements perfectly. From what I see in the snippet, you can pass any composable as a row. So you can make them clickable
    Lukas K-G

    Lukas K-G

    1 year ago
    Oh, ok. I will have another look. Thanks in the meant ime!
    BenjO

    BenjO

    1 year ago
    No problem. You tell me if it works !