Hello, as you can see in the images below icons appointments overlap with the cells of the grid.
portrait:
landscape:
code:
calendar = [[IGCalendarView alloc] init]; calendar.displayBackButton = NO; calendar.displayTitleBar = YES; calendar.theme = tema = [[OrdiniGiornalieriTema alloc] init]; [calendar navigateToDate:[NSDate date] forType:IGCalendarViewDisplayTypeMonth]; calendar.delegate = self; calendar.minYear = [data year] - 1; calendar.maxYear = [data year]; [calendar setTranslatesAutoresizingMaskIntoConstraints:NO]; [self.view addSubview:calendar]; //Constraints NSDictionary *views = NSDictionaryOfVariableBindings(calendar); [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[calendar]|" options:0 metrics:nil views:views]]; [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[calendar]|" options:0 metrics:nil views:views]];
Hello Mattia,
Thank you for informing us of this behavior. I attached a sample that demonstrates how the appointments are intended to be displayed in the month view. Can you please modify mine or provide an isolated sample reproducing this behavior?
Hi,
I've modified your example based on my case.
The overlap is seen but not as much as in the pictures I posted above
Mattia
I have opened a private case for you so that I can link it to an internal development issue. This way you will be notified automatically when the dev issue is updated. The case number is CAS-138621-F9S2L6. You will see it located here: https://ko.infragistics.com/my-account/support-activity
Let me know if you have any questions regarding this matter.
Hi Mattia,
The appointments are not actually displayed in cells. They're displayed above them. Your original issue was that they were running over into the next month, which was definitely a bug, as the height of the appointment was being miscalculated. Basically whats happening now is that your font size is too large for your appointment. To fix that, you can take advantage of our themes to adjust your font size.
We basically allow you to set the max and min font sizes. And then we adjust the font sizes around the entire control around that. So you can play around these values to find what looks right for your calendar.
@interface CustomTheme :IGCalendarDefaultTheme
@end
@implementation CustomTheme
-(CGFloat)fontSizeMax
{
return 14.0f;
}
-(CGFloat)fontSizeMin
return 7.0f;
As for the scrolling performance, I tested out the before and after versions on an iPad 3 and they're identical. So I'm curious as to where the problem may lie. I was using the Samples Browser's appointment datasource sample.
-SteveZ
Hello, I installed the service release out today, now a few months on the calendar is decidedly worse. The numbers out of the box around (only for a few months). Also scrolling (that was before fluid) is now much more jerky when changing from one month to another.