mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
Do not add right padding to calendar label's x1 coordinate
This commit is contained in:
parent
7f653e6924
commit
5c735c0fc8
@ -787,7 +787,7 @@ static void draw_days(lv_obj_t * calendar, const lv_area_t * mask)
|
||||
}
|
||||
|
||||
label_area.x1 =
|
||||
calendar->coords.x1 + (w * day) / 7 + style_bg->body.padding.left + style_bg->body.padding.right;
|
||||
calendar->coords.x1 + (w * day) / 7 + style_bg->body.padding.left;
|
||||
label_area.x2 = label_area.x1 + box_w - 1;
|
||||
|
||||
/*Draw the "today box"*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user