RWT Theming Reference > List

## List

SWT Lists.

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for lists.

- border

  Border for lists.

- color

  Text color lists.

- font

  Font for lists.

### Applicable SWT Styles

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

- [BORDER]

  Indicates that the list should have a border.

### Applicable States

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

- :disabled

  Applies to disabled Lists.

## List-Item

Items of list controls.

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for list items.

- background-image

  Background image or gradient for list items.

- color

  Text color for list items.

- padding

  Padding for the list items.

- text-shadow

  Shadow for items text.

### 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 when List is disabled.

- :even

  Applies to items with an even index.

- :hover

  Applies while the user hovers over the list item.

- :selected

  Applies to selected items.

- :unfocused

  Applies to items on unfocused lists.