RWT Theming Reference > ScrollBar

## ScrollBar

ScrollBar widget

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for scrollbars.

- background-image

  Background image or gradient for scrollbars.

- border

  Border for scrollbars.

- border-radius

  Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.

- width

  Represents the width of the scrollbar if it's vertical or the height, if it's horizontal.

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [HORIZONTAL]

  Indicates that the scrollbar horizontal.

- [VERTICAL]

  Indicates that the scrollbar vertical.

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :disabled

  Applies to disabled scrollbars.

## ScrollBar-Thumb

The movable thumb

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for scrollbar thumb

- background-image

  Background image or gradient for scrollbar movable thumb.

- border

  Thumb border

- border-radius

  Thumb border radius

- min-height

  Thumb minimun height

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [HORIZONTAL]

  Indicates that the scrollbar horizontal.

- [VERTICAL]

  Indicates that the scrollbar vertical.

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :hover

  On thumb roll over

- :pressed

  On thumb pressed

## ScrollBar-Thumb-Icon

### Available CSS Properties

Properties that can be defined for this element:

- background-image

  The icon for the scrollbar down button.

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [HORIZONTAL]

  Indicates that the scrollbar horizontal.

- [VERTICAL]

  Indicates that the scrollbar vertical.

### Applicable States

none

## ScrollBar-DownButton

The button for decreasing selection value

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for min button

- background-image

  Background image or gradient for scrollbar down button.

- border

  Down button border

- border-radius

  Down button border radius

- cursor

  Scrollbar down button cursor.

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [HORIZONTAL]

  Indicates that the scrollbar horizontal.

- [VERTICAL]

  Indicates that the scrollbar vertical.

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :disabled

  Applies to disabled scrollbar down button.

- :hover

  On button roll over

- :pressed

  On button pressed

## ScrollBar-DownButton-Icon

The scrollbar down button icon.

### Available CSS Properties

Properties that can be defined for this element:

- background-image

  The icon for the scrollbar down button.

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [HORIZONTAL]

  Indicates that the scrollbar horizontal.

- [VERTICAL]

  Indicates that the scrollbar vertical.

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :hover

  Applies while the user hovers over the button.

## ScrollBar-UpButton

The button for increasing selection value

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for up button

- background-image

  Background image or gradient for scrollbar up button.

- border

  Up button border

- border-radius

  Up button border radius

- cursor

  Scrollbar up button cursor.

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [HORIZONTAL]

  Indicates that the scrollbar horizontal.

- [VERTICAL]

  Indicates that the scrollbar vertical.

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :disabled

  Applies to disabled scrollbar up button.

- :hover

  On button roll over

- :pressed

  On button pressed

## ScrollBar-UpButton-Icon

The scrollbar up button icon.

### Available CSS Properties

Properties that can be defined for this element:

- background-image

  The icon for the scrollbar up button.

### Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

- [HORIZONTAL]

  Indicates that the scrollbar horizontal.

- [VERTICAL]

  Indicates that the scrollbar vertical.

### Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

- :hover

  Applies while the user hovers over the button.