Border don't cover calendar


When I create a calendar, without changing its style, I see that the corner of the calendar is not covered fully by its corner.
This is more obvious when the focus is on it and the border is blue. I think there is a problem somewhere.

What MCU/Processor/Board and compiler are you using?

stm32f429, CubeIDE, GCC

What do you expect?

Border cover the calendar fully.

Code to reproduce

lv_calendar_create(obj_show_desktop, NULL);

What LVGL version are you using?


What happens if you enable clip_corner on the calendar (syntax below is based on memory)?

lv_obj_set_style_local_clip_corner(calendar, LV_CALENDAR_PART_BG, LV_STATE_DEFAULT, true);
1 Like

No, It’s amazing that it didn’t work either. I also checked it with LV_STATE_FOCUSED state.

Please take a screenshot and mark the problematic part to be sure we understand the problem correctly.

sorry, yeah.
Here it is, one corner of the calendar.
WhatsApp Image 2020-08-20 at 10.05.49

You can see that the background is bigger that the border in corner.

Thanks, I fixed it in master.

1 Like

Thanks, It’s working.

1 Like