Why scrolling HOR work only to one side

What do you want to achieve?

I have panel set this

inside 3 labels same width 196 px. Display is 240.
image

I require on display show middle Label this work ok and scroll to left or right . But only to right LabelINp1 work.

What have you tried so far?

? Elastic help little, but scroll isnt equal to left…
Problem is Center in flex set… Too i place cb to
but func lv_obj_get_scroll_x(ui_Panel1) dont return end possitions, then for me this END event isnt real end animation … ahhh

lv_obj_add_event_cb(ui_Panel1, INscroll_event_cb2, LV_EVENT_SCROLL_END, NULL);

Screenshot or video

Others

  • SquareLine Studio version: 8.3.7
  • Operating system:
  • Target hardware:
1 Like

This is a design-decision in LVGL so that the behaviour of a scrollable centered object/list matches the behaviour we got used to in HTML.

1 Like