RDVCalendarView icon indicating copy to clipboard operation
RDVCalendarView copied to clipboard

setSeparatorStyle to Both not adjusting to cell height

Open massdonati opened this issue 10 years ago • 2 comments

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 avatar May 29 '14 20:05 massdonati

BTW the view is inside a UITableViewCell

massdonati avatar May 29 '14 20:05 massdonati

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.

anujism avatar Oct 13 '14 12:10 anujism