lv_obj_get_width() function
Get the width of an object
Return value
the width in pixels
Notes
The position of the object is recalculated only on the next redraw. To force coordinate recalculation call `lv_obj_update_layout(obj)`.
lv_obj_get_width() is called by 40 functions and calls 1 function:
![]()
lv_obj_get_width()
lv_obj_get_width():
![]()
lv_obj_get_width()