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

Allow overriding of segment height in day view #360

Closed
emulvihill opened this issue Oct 19, 2017 · 1 comment
Closed

Allow overriding of segment height in day view #360

emulvihill opened this issue Oct 19, 2017 · 1 comment
Milestone

Comments

@emulvihill
Copy link

I'm submitting a ...

[ ] Bug report 
[X ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit a support request here, please ask on https://stackoverflow.com/

Bug description / Feature request

Allow customizing of Calendar Day segment height. Currently although the height can be overridden with CSS, the interaction with events makes it unusable, because Event sizing is controlled by
const SEGMENT_HEIGHT: number = 30;

Use case: I need more granular control of event drop time, so I need more segments per hour. To fit this on the browser page the height needs to be shrunk accordingly.

PS Thank you, your calendar is brilliant!

Minimal reproduction of the problem with instructions

Versions

Angular: 4.0

Calendar library: angular-calendar

Browser name and version: Chrome

@mattlewis92 mattlewis92 added this to the 0.22 milestone Oct 20, 2017
@mattlewis92
Copy link
Owner

This should be possible, btw if you need more segments per hour this is already possible: https://mattlewis92.github.io/angular-calendar/#/day-view-hour-split

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