Thread
#compose
    z

    zoha131

    1 year ago
    Is there any way to Align Composables based on Text’s baseline?
    l

    Lukasz Burcon

    1 year ago
    You can use
    alignByBaseline
    modiifer
    z

    zoha131

    1 year ago
    Thanks for the link. But I don’t think it can be used for alignment. I have a row containing two
    Text
    and I want both of them to be aligned according to the baseline.
    l

    Lukasz Burcon

    1 year ago
    Yeah, then you should pack those texts in a row and set alignByBaseline modifier on both of them 😃
    z

    zoha131

    1 year ago
    Is that available? I can’t find that.
    Ok, I found that. I was looking at
    Alignment
    . Why
    Alignment
    didn’t get this feature.