lv_obj_scroll_to_x() function
Scroll to a given X coordinate on an object. `x` will be limited internally to allow scrolling only on the content area.
Arguments
obj
pointer to an object to scroll
x
pixels to scroll horizontally
anim_en
LV_ANIM_ON: scroll with animation; LV_ANIM_OFF: scroll immediately