Styles Tab - WorkView - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Premier - external - Premier

WorkView

Platform
OnBase
Product
WorkView
Release
Foundation 24.1
License
Premier

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:

  • px - Pixels (This is the default unit and is used if no unit is specified.)

  • % - Percentage

    Note:

    Relative height set on controls within a control that does not have a height set is not supported.

  • in – Inches

  • cm – Centimeters

  • mm – Millimeters

  • em – An em unit is the current font size. If the font size is set to 16 pt and the element is set to 2em, the element will be 32 pt.

  • ex – An ex unit is equal to the x-height of the font.

  • pt – Points

  • pc – Picas

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:

  • keywords: thin, medium, thick
  • px - Pixels (This is the default unit and is used if no unit is specified.)

  • % - Percentage

  • in – Inches

  • cm – Centimeters

  • mm – Millimeters

  • em – An em unit is the current font size. If the font size is set to 16 pt and the element is set to 2em, the element will be 32 pt.

  • ex – An ex unit is equal to the x-height of the font.

  • pt – Points

  • pc – Picas

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:

  • px - Pixels (This is the default unit and is used if no unit is specified.)

  • % - Percentage

  • in – Inches

  • cm – Centimeters

  • mm – Millimeters

  • em – An em unit is the current font size. If the font size is set to 16 pt and the element is set to 2em, the element will be 32 pt.

  • ex – An ex unit is equal to the x-height of the font.

  • pt – Points

  • pc – Picas

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:

  • px - Pixels (This is the default unit and is used if no unit is specified.)

  • % - Percentage

  • in – Inches

  • cm – Centimeters

  • mm – Millimeters

  • em – An em unit is the current font size. If the font size is set to 16 pt and the element is set to 2em, the element will be 32 pt.

  • ex – An ex unit is equal to the x-height of the font.

  • pt – Points

  • pc – Picas

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.

Note:

When properties can be configured on both the General and Styles tabs, the property changes will be properly displayed on both tabs.