RWT Theming Reference > Spinner

## Spinner

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Spinner background color

- background-image

  Background gradient for spinner.

- border

  Border for spinner text fields.

- border-radius

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

- box-shadow

  A shadow effect for spinner text field.

- color

  Spinner foreground color

- font

  Text font

- padding

  Padding for spinner.

- text-shadow

  Shadow for text.

### Applicable SWT Styles

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

- [BORDER]

  Style constant for bordered behavior.

### Applicable States

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

- :disabled

  Applies to disabled Spinner controls.

- :focused

  Applies to focused Spinners

## Spinner-Field

The spinner text field

### Available CSS Properties

Properties that can be defined for this element:

- padding

  Padding for spinner text fields.

### Applicable SWT Styles

none

### Applicable States

none

## Spinner-UpButton

The spinner up button

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color of spinner up button.

- background-image

  Background image or gradient for spinner up button.

- border

  Border for spinner up button.

- border-left

  Left side border for spinner up button.

- border-radius

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

- cursor

  Spinner up button cursor.

- width

  Width of the spinner up button.

### Applicable SWT Styles

none

### Applicable States

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

- :disabled

  Applies to disabled spinner up button.

- :hover

  Applies while the user hovers over the button.

- :pressed

  Applies while a button is pressed.

## Spinner-UpButton-Icon

The spinner up button icon

### Available CSS Properties

Properties that can be defined for this element:

- background-image

  The icon for spinner up button.

### Applicable SWT Styles

none

### Applicable States

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

- :disabled

  Applies to disabled spinner up button.

- :hover

  Applies while the user hovers over the button.

- :pressed

  Applies while a button is pressed.

## Spinner-DownButton

The spinner down button

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color of spinner down button.

- background-image

  Background image or gradient for spinner down button.

- border

  Border for spinner down button.

- border-left

  Left side border for spinner down button.

- border-radius

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

- cursor

  Spinner down button cursor.

- width

  Width of the spinner down button.

### Applicable SWT Styles

none

### Applicable States

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

- :disabled

  Applies to disabled spinner down button.

- :hover

  Applies while the user hovers over the button.

- :pressed

  Applies while a button is pressed.

## Spinner-DownButton-Icon

The spinner down button icon

### Available CSS Properties

Properties that can be defined for this element:

- background-image

  The icon for spinner down button.

### Applicable SWT Styles

none

### Applicable States

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

- :disabled

  Applies to disabled spinner down button.

- :hover

  Applies while the user hovers over the button.

- :pressed

  Applies while a button is pressed.