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

setSeparatorStyle to Both not adjusting to cell height #9

Open
massdonati opened this issue May 29, 2014 · 2 comments
Open

setSeparatorStyle to Both not adjusting to cell height #9

massdonati opened this issue May 29, 2014 · 2 comments

Comments

@massdonati
Copy link

screen shot 2014-05-29 at 1 00 36 pm

RDVCalendarView* calendarView = [[RDVCalendarView alloc] initWithFrame:frame];
    [calendarView setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];
    [calendarView setSeparatorStyle:RDVCalendarViewDayCellSeparatorTypeBoth];
    [calendarView setDelegate:self];
    [calendarView setBackgroundColor:[UIColor yellowColor]];
    [calendarView setWeekDayHeight:0];
-(CGFloat)heightForDayCellInCalendarView:(RDVCalendarView *)calendarView
{
    return 50;
}
@massdonati
Copy link
Author

BTW the view is inside a UITableViewCell

@anujism
Copy link

anujism commented Oct 13, 2014

heightForDayCellInCalendarView only changes the height of the content inside the cell but the table view row height remain the same. This function should change the height of rows as well.

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

No branches or pull requests

2 participants