lv_obj_align_to() function
Align an object to an other object.
Arguments
obj
pointer to an object to align
base
pointer to an other object (if NULL `obj`s parent is used). 'obj' will be aligned to it.
align
type of alignment (see 'lv_align_t' enum)
x_ofs
x coordinate offset after alignment
y_ofs
y coordinate offset after alignment
Notes
if the position or size of `base` changes `obj` needs to be aligned manually again