Open tciuro opened 7 years ago
@tciuro It's surprising to me that the issue is more complicated than I thought. During my workaround, I had a weird drawing results in tags. Anyway, I take an experimenting approach in the branch: TruncatingTail to solve the issue. Because I'm not very satisfied in the approach, I'll put it as a branch until I can get a better solution.
Cheers,
I tried to fix it, but started to go down the proverbial rabbit hole. Thanks for trying to address it!
If you have a long enough string, the tag's right side will be chopped off. Consider filling the tag as much as the display's width and add an API to allow to set the ellipsis (using NSLineBreakMode). Something like:
That would make the tag look great. Thank you!