Ticks not placed correct when adding top padding to lv_meter

When I add top padding to a lv_meter object the radius used for ticks and labels is not correct and the labels and ticks are not placed on the location.

What LVGL version are you using?


What do you want to achieve?

Add top padding to lv_meter object

What have you tried so far?

lv_obj_set_style_pad_top(meter, 20, LV_PART_MAIN);

If I change the code in lv_meter.c I can fix this issue but I don’t know if I introduce any other issue

Original Code lv_meter.c (draw_ticks_and_labels)

lv_coord_t r_edge = LV_MIN(lv_area_get_width(scale_area) / 2, lv_area_get_height(scale_area) / 2);

New Code lv_meter.c (draw_ticks_and_labels)

lv_coord_t r_edge = lv_area_get_width(scale_area) / 2;

Any advise on this change?
The meter created has a style with the radius = 0
lv_style_set_radius(&meter_style, 0);