CalendarKit
CalendarKit copied to clipboard
Pinch to zoom gesture
@fanstudiouk
"Another thing that I believe it's missing or would be nice to have: when we have appointments of 10-15 minutes the height is too small and you can't see the content. It would be nice to be able to zoom-in our and adjust the timeline view height."
@fanstudiouk
In TimelineView.swift change to var verticalDiff: CGFloat = 160 this increases the width to show more events within an hour.
Any update?
There is no verticalDiff in TimelineView.swift
The right way to do so is from TimelineStyle
let timeline = TimelineStyle()
timeline.verticalDiff = 160
@jbarros35 correct. Also, it's important to not forget to call updateStyle
method on the DayView.
We're talking about a pinch gesture, right? If so, then it is likely that I will do it in a couple of months.
@RareScrap great, thanks! Looking forward to it.