CalendarKit
CalendarKit copied to clipboard
How to align "non-overlapped" events on 1 column?
trafficstars
I would like to make events which are not overlapped each other to stay on 1 column as described in the following screenshot. How could I do that? Thank you for your help
Related to #113
To achieve your goal, feel free to fork the library (i.e. create your own modified version of this library) and modify the events layout algorithm to the one you wish. The event layout algorithm is available in the TimelineView here: https://github.com/richardtop/CalendarKit/blob/master/Sources/Timeline/TimelineView.swift#L394
This will be possible without forking the library with the introduction of a pluggable/custom layout algorithm injection.