lv_obj_align() function
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);
Arguments
obj
pointer to an object to align
align
type of alignment (see 'lv_align_t' enum) `LV_ALIGN_OUT_...` can't be used.
x_ofs
x coordinate offset after alignment
y_ofs
y coordinate offset after alignment