cancel
Showing results for 
Search instead for 
Did you mean: 

how to build the slider

miker
Associate III

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

 

1 REPLY 1
JohanAstrup
ST Employee

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