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

CVCalendar Height #116

Closed
omernave opened this issue Sep 18, 2015 · 1 comment
Closed

CVCalendar Height #116

omernave opened this issue Sep 18, 2015 · 1 comment

Comments

@omernave
Copy link

Is there a way to know the height the CVCalendarView need in order to display all of the days properly?
When I use it on an iPhone 5 or newer it looks fine but when I use it on an iPhone 4 it looks bad.

the constraint I have on the calendarView are:
-leading space to superview: 0
-trailing space to superview: 0
-top space to menuView: 0
-button space to label*: -10

the label is centered at the middle of the view because I have a tableView below the calendarView, the problem, as I said is that when I switch to a smaller screen the calendarView doesn't have enough space.

screen shot 2015-09-18 at 17 53 33

@mozharovsky
Copy link
Member

@omernave: For now all you should do is to play with the height constraint. We'll add labels; auto sizing in v2.0.0.

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

3 participants