A WSlider is a horizontal or vertical linear control with which you can set an integer value by moving an indicator within a particular range. You can also click on a point on the slider to change the value.
The default size is 150 x 50 pixels for a horizontal slider, and 50 x 150
pixels for a vertical slider. The slider size cannot be set explicitly by
a CSS style sheet. You should use
resize() or a layout manager
for that purpose.
You can create a vertical slider using
setOrientation() with the
orientation set to Vertical on a default horizontal
slider like in the above example or using a more specialized constructor.