RWT Theming Reference > Display

## Display

This element holds system-wide settings for colors, fonts, etc.

### Available CSS Properties

Properties that can be defined for this element:

- background-image

  Background image for the display (client area of the browser window).

- font

  The default system font. Returned by Display#getSystemFont().

- rwt-darkshadow-color

  Color used to draw (inner) shadow line in 3d borders. Defines the value of SWT#COLOR_WIDGET_DARK_SHADOW.

- rwt-error-image

  The image used for MessageBoxes with style SWT#ICON_ERROR. Also returned by Display#getSystemImage().

- rwt-fontlist

  The font list returned by Display#getFontList().

- rwt-highlight-color

  Color used to draw (outer) highlight line in 3d borders. Defines the value of SWT#COLOR_WIDGET_HIGHLIGHT_SHADOW.

- rwt-infobackground-color

  Color used by PopupDialog for its background. Defines the value of SWT#COLOR_INFO_BACKGROUND.

- rwt-information-image

  The image used for MessageBoxes with style SWT#ICON_INFORMATION. Also returned by Display#getSystemImage().

- rwt-lightshadow-color

  Color used to draw (inner) highlight line in 3d borders. Defines the value of SWT#COLOR_WIDGET_LIGHT_SHADOW.

- rwt-question-image

  The image used for MessageBoxes with style SWT#ICON_QUESTION. Also returned by Display#getSystemImage().

- rwt-selectionmarker-color

  Color used to mark selected items like TreeColumns and TabViews.

- rwt-shadow-color

  Color used to draw (outer) shadow line in 3d borders. Defines the value of SWT#COLOR_WIDGET_NORMAL_SHADOW.

- rwt-thinborder-color

  Color for thin lines as shown by Group, TabFolder headers, Table headers, etc. Defines the value of SWT#COLOR_WIDGET_BORDER.

- rwt-warning-image

  The image used for MessageBoxes with style SWT#ICON_WARNING. Also returned by Display#getSystemImage().

- rwt-working-image

  The image used for MessageBoxes with style SWT#ICON_WORKING. Also returned by Display#getSystemImage().

### Applicable SWT Styles

none

### Applicable States

none

## Widget-ToolTip

Tooltips on SWT widgets, as set using setTooltipText().

### Available CSS Properties

Properties that can be defined for this element:

- animation

  Supports animations-types "fadeIn" and "fadeOut". Others are ignored.

- background-color

  Background color for tooltips.

- background-image

  Background image or gradient for tooltips.

- border

  Outer border for tooltips.

- border-radius

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

- box-shadow

  The shadow behind the tooltip.

- color

  Text color for tooltips.

- font

  Text font for tooltips.

- opacity

  The opacity of the tooltip. A value between 0 and 1.

- padding

  Padding around the tooltips text.

### Applicable SWT Styles

none

### Applicable States

none