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

Pinch to zoom gesture #58

Open
richardtop opened this issue May 17, 2017 · 6 comments
Open

Pinch to zoom gesture #58

richardtop opened this issue May 17, 2017 · 6 comments

Comments

@richardtop
Copy link
Owner

@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."

@mukulm24
Copy link

@fanstudiouk

In TimelineView.swift
change to
var verticalDiff: CGFloat = 160
this increases the width to show more events within an hour.

@ClaudioPerroni
Copy link

Any update?

@jbarros35
Copy link

jbarros35 commented Nov 25, 2019

There is no verticalDiff in TimelineView.swift

The right way to do so is from TimelineStyle

    let timeline = TimelineStyle()
    timeline.verticalDiff = 160

@richardtop
Copy link
Owner Author

@jbarros35 correct. Also, it's important to not forget to call updateStyle method on the DayView.

@RareScrap
Copy link
Contributor

We're talking about a pinch gesture, right? If so, then it is likely that I will do it in a couple of months.

@richardtop
Copy link
Owner Author

@RareScrap great, thanks! Looking forward to it.

@richardtop richardtop changed the title Zoomable timeline for small events Pinch to zoom gesture Dec 20, 2020
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

5 participants