The next table presents the properties of the Label widget.

Property

Description

Optionality

Default value

Obs.

Name

Name of the widget used in the screen scope.

Optional

 

Although optional, only named widgets are available in the scope of the web screen or web block. Only then you can use their runtime properties and select them using the widget selector.

See rules for naming elements.

Value

Indicates the text to be shown in the user interface.

Mandatory

"label"

 

Example

Text to display on the Content Canvas in Preview and Design modes.

Optional

 

 

Width

Indicates the width of the widget. You can change the width by editing this property or by resizing it using the Grid in the Content Canvas.

Optional

2 col, when using the Grid, 140 px otherwise.

The value of this property can be in columns, pixels, points, or percentage.

Margin Left

Indicates the width of the left margin of the widget.

This value can be automatically set by the Grid.

Optional

Auto

The value of this property can be in pixels, points, or percentage.

If not defined and the widget style defines a margin-left then this margin is applied to the widget.

Margin Top

Indicates the height of the top margin of the widget.

This value can be automatically set by the Grid.

Optional

Auto

The value of this property can be in pixels or points.

If Auto is selected and the widget style defines a margin-top then this margin is applied to the widget.

 

Input Widget

Indicates the element that is activated when the label is clicked by the end-user.

Optional

 

 

Style

Defines the CSS style applied to the widget.

Optional

 

Learn more About Style Sheets.

A drop-down list of suggestions is shown to facilitate selecting a single style. To apply more than one style simply separate the styles with a blank space.

Double-click on the property and the Style Sheet Editor is opened with the current style already selected.

Extended Properties - Additional properties for attributes and events that implement specific behaviors of your widget.

Name

Name of the attribute that the HTML element can accept as specified in the HTML language reference.

 

 

This property is added to the HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

Value

The value for the attribute.

 

 

This property is added to the HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

See Also

About Label Widget | Label Widget Runtime Properties