Skip to main content
BParh.1
Senior III
Jul 14, 2021 3:59 AM UTC
Solved

Can we have a scrollbar on Scroll List Container?

Let say I define a 'Scroll List Container' in my Screen1 view. Inside the container I insert many items to the point they don't fit to the container view size. Is there anyway we can have scrollbar say on the right of the list and user can move up and down the list?

This topic has been closed for replies.
BParh.1
BParh.1Best answer
Senior III
Jul 16, 2021 12:26 PM UTC

So I learned we can actually achieve this by dragging the scroll list container into scrollable container.

5 replies

Romain DIELEMAN
ST Employee
Jul 14, 2021 9:25 AM UTC

Hi,

The scroll list widget does not have that option, but the scrollable container does.

If you do not wish to work with a scrollable container you could try to create a custom scroll list by copying the scroll list code and adding the scroll bar settings based on the one used in scrollable container. Otherwise you can also fake a scrollbar by using a box widget that moves according to where you are in the list.

/Romain

BParh.1
BParh.1Author
Senior III
Jul 14, 2021 1:50 PM UTC

Thank you @Romain DIELEMAN​ , that is unfortunate, I wonder if this is can be point of future improvement?

The thing about using scrollable container; it does not have feature like scroll list which have a template of the list item which can be easily multiplied in user code space.

BParh.1
BParh.1AuthorBest answer
Senior III
Jul 16, 2021 12:26 PM UTC

So I learned we can actually achieve this by dragging the scroll list container into scrollable container.

GMeur
Associate III
Jul 22, 2021 10:25 AM UTC

How do you achieve that?

BParh.1
BParh.1Author
Senior III
Jul 25, 2021 11:22 PM UTC

By inserting the scroll list container into scrollabe container. This can be done by dragging the scroll list container into the scrollable container and you can adjust the scroll list size beyond the scrollable container. Hope it helps