Label
The Label is the Design Element that displays one or more lines of static text. Users cannot interact with it or alter its content using a keyboard. You should use a Text Field or a Text View if you want the user to be able to input/edit the text using the keyboard.
You can update the Label’s text by using a Datasource’s Response parameter or a Screen Property. Finally, you can change Label’s content dynamically using Functions in the Code Blocks Editor.
Label
Text
The static text that will be displayed by the Label.
Note: The text is not editable by the user using a keyboard.
Tip: You can bind this value in order to change dynamically.
Text Color
The color of the text.
Font
The font of the text.
Text Alignment
Indicates how the text will be horizontally aligned.
Vertical Text Alignment
Indicates how the text will be vertically aligned.
Number of Lines
Set the maximum number of lines that the text can use to be displayed. Will automatically add three dots at the end of the last line when cannot fit the text in the specified number of lines.
Tip: Set to 0
for Label to use as many lines as needed to display the whole text.
View
Alpha
Alpha is a number that alters the transparency of the Label. It ranges between 0.0 and 1.0, where 0.0 makes Label totally transparent and 1.0 totally opaque.
Default value: 1.0
Background Color
Label’s background color.
Hidden
If enabled, it hides the Label.
Border
Border Color
The color of the border.
Border Width
The width of the border.
Default value: 0
Corner radius
The radius drawn to the corners of the border.
Default value: 0
Shadow
Shadow Color
The color of the shadow.
Tip: You can add opacity/alpha to the Shadow Color in order to add transparency to the shadow.
Shadow Blur
The blur radius used to render the shadow.
Shadow X Offset
The horizontal offset of the shadow.
Shadow Y Offset
The vertical offset of the shadow.
Code
Display Name
You can use this text to identify the Label in the Code Blocks Editor and in the List of the Screen’s elements. It is not visible to the users.
Visible In Code
It makes the Label visible in the Code Blocks Editor in order to connect it to other Code Blocks.