I'm trying to create an expandable label that looks like the one in the picture:
I have two problems:
- How do I make the label truncate the tail such that it leaves enough place for the More button/clickable text?
- How do I place the More text?
Maybe, I am going about it the wrong way? Instead of playing with the number of lines, should I maybe try to calculate how much text goes into one and a half line and present it only, and then when clicking More I present the whole text?
Would appreciate any advice, thanks!