thellmund / Android-Week-View

Display highly customizable calendar views in your Android app
Apache License 2.0
188 stars 98 forks source link

Trim text when it doesn't fit into the event card #238

Closed PedroTicGal closed 3 years ago

PedroTicGal commented 3 years ago

First of all, I would like to thank you for maintaining this great work. This is a great library but I find it odd when I want to visualize a very long text in the event surface (I'll call it "event card"). When this text is too long to display on that surface, the text just dissapears.

I think it would be great if the event card could measure how much text fits into its surface and trim the text finishing it with ellipsis if it doesn't fit.

I'm attaching a couple of screenshots to show this issue:

Screenshot_1615214823 Here you can see the text of this event. It fits perfectly into the card.

Screenshot_1615214845 As soons as I decrease the size of the card by zooming out the calendar, the text doesn't fit anymore and it vanish completely.

Thank you for all your hard work!

thellmund commented 3 years ago

👋 I added a fix for this. Will include it in the next release.