SwiftCalendar icon indicating copy to clipboard operation
SwiftCalendar copied to clipboard

Needs dynamic frame height adjustment

Open lnjustin opened this issue 9 years ago • 3 comments

Great calendar. I suggest an option to have the calendar frame height dynamically adjust depending on whether there are 6 or 7 rows in the calendar view. At the moment, it looks like it's statically set with 7 rows.

lnjustin avatar Sep 20 '15 19:09 lnjustin

Thank you Injustin, that's right. The frame remains constant now. I'll work on that. Been busy.

vishalvshekkar avatar Sep 22 '15 14:09 vishalvshekkar

No problem. In the meantime I might have to do a workaround. Do you know right off hand which variable in your code indicates whether there are 6 rows or 7 rows being displayed? Thanks!

lnjustin avatar Sep 22 '15 16:09 lnjustin

I believe it's always set to 7 rows. You need to make the changes. Raise a pull request if you get around to fixing this. Also, it wouldn't make sense to have the self-resizing functionality for horizontal calendars as long as the rest of the UI support this.

vishalvshekkar avatar Jul 20 '16 05:07 vishalvshekkar