The following styles can be configured for the label from the Styles tab:
Option |
Description |
---|---|
height |
Defines the height of the label control. The value entered can be one of the following units of measure:
|
background-color |
This option allows you to select the background color of the label control. Click on the ellipsis (...) button to access a color picker to select the color. |
border-color |
In the Style Value column, you can click the ellipsis button and select a color for the border around the label. |
border-style |
In the Style Value column, you can select the line style for the border around the label. You can select none, dotted, solid, dashed, double, or inset. |
border-width |
Enter the value for the width of the border line around the label. The value entered can be one of the following units of measure:
The values can be set for all four borders separately, in the following order: top border, right border, bottom border, left border. The following is an example:thin medium thick 10px |
color --label-font-color |
This option allows you to select the color of the label's text. Click on the ellipsis (...) button to access a color picker to select the color. |
font-size --label-font-size |
This option allows you to specify the size of the label's text. The value entered can be one of the following units of measure:
|
font-weight --label-font-weight |
This option allows you to specify whether the label's text is normal or bold. |
--label-font-family |
This option allows you to set font family of the label's text. One or more family can be set, separated by commas. |
width |
Defines the width of the label control. The value entered can be one of the following units of measure:
|
text-align |
This option allows you to define how text in the label will be aligned. Alignment options available from the drop-down list are none, left, center, right, and justify. |
When properties can be configured on both the General and Styles tabs, the property changes will be properly displayed on both tabs.