t

    Tolriq

    11 months ago
    What would be the correct modifier to have a Row containing 2 Text that are adjacent but with the second one always visible, so that max width of the first one would be total width - second text width?
    Csaba Szugyiczki

    Csaba Szugyiczki

    11 months ago
    set a
    weight()
    modifier with
    1f
    weight on the first Text so it takes up the remaining space
    t

    Tolriq

    11 months ago
    Wow thanks it works, I tried that on the second one as I would in XML world 😢
    Csaba Szugyiczki

    Csaba Szugyiczki

    11 months ago
    no problem 🙂 I think in xml it works the same way
    t

    Tolriq

    11 months ago
    Not really in XML there's no notion of fill = false, so weight 1 on the first would have it take all space and not wrap.
    Anyway thanks a lot for showing the way.
    Csaba Szugyiczki

    Csaba Szugyiczki

    11 months ago
    Ahh, I see what you mean. Yeah the
    fill = false
    parameter is quite handy!