2 `Text`s with `maxLines = 1` placed in a Row. Is ...
# compose
f
2 `Text`s with
maxLines = 1
placed in a Row. Is there an easy way to let the first Text not push the 2nd one out of the screen if it becomes too big? I could use
weight
but that won't work well with different languages and string lengths. I'm looking for something like `RelativeLayout`'s
endBefore
.
u
why would weight 0 not work
f
weight of 0? And the other one?
e
use weight = 1f for the first Text, and nothing for second one
u
im sorry yea 1, 1 means fill the rest
f
Perfect 😍 Thank you very much guys