pub unsafe extern "C" fn lv_obj_align(
obj: *mut lv_obj_t,
align: lv_align_t,
x_ofs: i32,
y_ofs: i32,
)Expand description
Change the alignment of an object and set new coordinates.
Equivalent to:
lv_obj_set_align(obj, align);
lv_obj_set_pos(obj, x_ofs, y_ofs);
@param obj pointer to an object to align
@param align type of alignment (see ‘lv_align_t’ enum) LV_ALIGN_OUT_... can’t be used.
@param x_ofs x coordinate offset after alignment
@param y_ofs y coordinate offset after alignment