How can I make the “…” works if the text doesn’t h...
# compose
t
How can I make the “…” works if the text doesn’t have enough space? I tried
overflow = TextOverflow.Ellipsis
with no luck
p
overflow = TextOverflow.Ellipsis
will work, but you also need to specify maximum number of lines for text via
maxLines
parameter of Text composable
t
But the thing is that I’ve no idea, because both texts can have different size 😕 So I guess I would need to calculate at run time then?
m
the maxlines work.
c
I've noticed this too. File a bug? I'll star it!