XML Tutorial
Bamboo Suite - Scrollbar Control Size
Version 1.6
This is the archives. For the latest Bambookit GUI 2.0, XML GUI Demos & Tutorials visit: www.bambookit.com/_demo.html


View without frames

This section below will describe how to customize look and feel in the scrollbars. It will cover setSize method in the Scrollbar.

The applet below displays default scrollbar size, which is setSize="20,20".

Now let's change the size of the scrollbar to be set to: setSize="15,15", line 3 in the XML source below. Since the scrollbar’s width is decrease by 5 pixels, we have to make that adjustment for the Widget's width, line 6.

[Home][Tutorial] [Demo]

[Scrollbar] [Scrollbar Size] [Scrollbar Color] [Scrollbar Border]