Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to align "non-overlapped" events on 1 column? #357

Open
hung-zappasoft opened this issue May 22, 2023 · 1 comment
Open

How to align "non-overlapped" events on 1 column? #357

hung-zappasoft opened this issue May 22, 2023 · 1 comment

Comments

@hung-zappasoft
Copy link

hung-zappasoft commented May 22, 2023

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

Screenshot 2023-05-22 at 5 36 03 pm
@richardtop
Copy link
Owner

richardtop commented May 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants