lv_obj_get_content_coords() function
Get the area reduced by the paddings and the border width.
Arguments
area
the area which still fits into the parent without causing overflow (making the parent scrollable)
Notes
The position of the object is recalculated only on the next redraw. To force coordinate recalculation call `lv_obj_update_layout(obj)`.