Slider component » Creating a vertical slider
Creating a vertical slider
To create a vertical slider, you just have make it higher than it is wide. It’s that easy.
Make sure to set the width
and height
values when creating the slider, because changing an existing horizontal slider to a vertical one will make it unresponsive.
slider = new SliderComponent
width: 10
height: 300
point: Align.center
value: .3