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
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);
No, It’s amazing that it didn’t work either. I also checked it with
Please take a screenshot and mark the problematic part to be sure we understand the problem correctly.
Here it is, one corner of the calendar.
You can see that the background is bigger that the border in corner.
Thanks, I fixed it in master.