Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
Custom view and cell height
posted

Hi,

i have a calendar locked in type IGCalendarViewDisplayTypeMonth

when i add a label as custom view (like your example "Custom month dayview" in the sample app) the cell with day of month does not resize automatically based on the displayed text, so if the height of the label over the height of the cell, the label is truncated.

Knowing the height of the text can I resize the height of the cell?

More simply how to size the height of the day cell according to the custom view contained in it?

Thanks

  • 40030
    Offline posted

    Hi, 

    Sorry for the delayed response.

    You can't resize the MonthView day. In this case, you would need to change the font size of your label. 

    Out of curiosity could you could provide more details on what you're trying to achieve. Maybe its a scenario we can support better in the future?

    Thanks

    -SteveZ