What needs to be glued to a page?

I’m playing around with the pages in lvgl. I have added a label and a container to the page.

The label can by default scroll the page the container needs to be glued.

What elements needs to be glued and which does not?

I can understand that you might not want slider and the like to be glued, but when would you ever want a container not to be glued?

The label is not clickable by default so actually, you press the page instead of the label.

BTW, in v8 scrolling is more intuitive. See some examples here: https://docs.lvgl.io/8.0/overview/scroll.html#examples

1 Like