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 : color definition
Background color for group boxes.
-
border : border definition
Border for group boxes.
-
color : color definition
Text color for group boxes.
-
font : font definition
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):
Applicable States
Widget states that can be referred to in a selector for this element
(as CSS pseudo-classes):
Group-Frame
The frame that contains the child controls.
Available CSS Properties
Properties that can be defined for this element:
-
border : border definition
Border for group box frames.
-
margin : box dimension
Margin for group box frames (outer space around the frame).
-
padding : box dimension
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):
Group-Label
The label of a group box.
Available CSS Properties
Properties that can be defined for this element:
-
background-color : color definition
Background color for group box label (override the color set by Group#setBackgroundColor()).
-
color : color definition
Text color for group box label (override the color set by Group#setForegroundColor()).
-
margin : box dimension
Margin for group box labels (offset of the group box label).
-
padding : box dimension
Padding for group box labels (space around the label text).
Applicable SWT Styles
none
Applicable States
none