Skip to main content
Associate III
Jan 21, 2026 5:51 AM UTC
Solved

how to build the slider

i need build a slider as following picture, when i change the item up and down , at the same time, the slider need move up and down with the item's movement;

 

 

 

miker_0-1768974511104.png

 

JohanAstrupBest answer
ST Technical Moderator
Apr 24, 2026 11:03 AM UTC

Hello @miker.

Sorry for the late reply!

As I see it, you have two options:

1. Use a Scrollable Container widget, which has a built-in scrollbar feature.
The downside of this approach is that you would need to implement item snapping manually, if you need that.

2. Implement a custom scrollbar using Boxes or Shapes.
This should actually be fairly simple, but you would need to implement the scrollbar movement logic yourself.

Which container type have you used for your current implementation?

Best regards,
Johan

1 reply

JohanAstrupBest answer
ST Technical Moderator
Apr 24, 2026 11:03 AM UTC

Hello @miker.

Sorry for the late reply!

As I see it, you have two options:

1. Use a Scrollable Container widget, which has a built-in scrollbar feature.
The downside of this approach is that you would need to implement item snapping manually, if you need that.

2. Implement a custom scrollbar using Boxes or Shapes.
This should actually be fairly simple, but you would need to implement the scrollbar movement logic yourself.

Which container type have you used for your current implementation?

Best regards,
Johan