RWT Theming Reference > Group

## Group

RWT Group controls. Groups are labeled boxes used to group sets of controls.

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for group boxes.

- border

  The border that is drawn around group boxes.

- border-bottom

  The bottom side border for group boxes.

- border-left

  The left side border for group boxes.

- border-right

  The right side border for group boxes.

- border-top

  The top side border for group boxes.

- color

  Text color for group boxes.

- font

  Font for group boxes. Applied to the group box label.

### Applicable SWT Styles

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

- [BORDER]

  Indicates that the group box should have a border.

- [RIGHT_TO_LEFT]

  Indicates that the group is oriented right to left.

### Applicable States

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

- :disabled

  Applies to disabled group boxes.

## Group-Frame

The frame that contains the child controls.

### Available CSS Properties

Properties that can be defined for this element:

- border

  The border that is drawn for group box frames.

- border-bottom

  The bottom side border for group box frames.

- border-left

  The left side border for group box frames.

- border-radius

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

- border-right

  The right side border for group box frames.

- border-top

  The top side border for group box frames.

- margin

  Margin for group box frames (outer space around the frame).

- padding

  Padding for group box frames (inner distance between frame border and content).

### 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 the frame of a disabled group box.

- :hover

  Applies while the cursor hovers over the group box frame.

## Group-Label

The label of a group box.

### Available CSS Properties

Properties that can be defined for this element:

- background-color

  Background color for group box label (override the color set by Group#setBackgroundColor()).

- background-image

  Background image for group box label.

- background-position

  Background image position for group box label.

- background-repeat

  Background image repetition for group box label.

- border

  The border that is drawn around group box label.

- border-bottom

  The bottom side border for group box label.

- border-left

  The left side border for group box label.

- border-radius

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

- border-right

  The right side border for group box label.

- border-top

  The top side border for group box label.

- color

  Text color for group box label (override the color set by Group#setForegroundColor()).

- margin

  Margin for group box labels (offset of the group box label).

- padding

  Padding for group box labels (space around the label text).

- text-shadow

  Shadow for 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 to the group box label of a disabled group box.

- :hover

  Applies while the cursor hovers over the group box label.