This element contains non-editable text.
The contents of a text element can be set from a database record. Use the no-code interface to select the table and recordID used for the text element.
These are the low code actions available for text elements.
This action can be used to format the text. The current available format is USD Currency. The formatted text can be placed in a variable or inside an element.
Text elements have a mouseUp event that can be configured using low-code. This event is triggered when the user clicks or touches the element.
This section is used to configure the text size and position.
Property | Description |
---|---|
top | The value in pixels representing how far the element is from the top of the window. |
left | The value in pixels representing how distant element is from the left side of the window. |
width | The value in pixels representing the distance between the left side of the element and its right side. |
height | The value in pixels representing the distance between the bottom side of the element and its top side. |
Use the properties in this section to configure the responsive design behaviors for the element.
Property | Description |
---|---|
lockAspectRatio | Locks the aspect ratio of the element. |
responsive-x | How the element resizes responding to screen changes in the X axis. |
responsive-y | How the element resizes responding to screen changes in the Y axis. |
allowInIOSNotch | Allows the element to be drawn outside the safe area on iOS. Will draw underneath the notch in iOS. |
The properties in this section are used together with those in the appearance section to configure how the element is displayed on the screen. This section deals with the properties related to text used by the text.
Property | Description |
---|---|
textSize | The text size used in the element’s text. |
textStyle | The style used in the element’s text. It can be bold, italic, underlined, and strikethrough. |
textAlignment | The text alignment used for the element’s text. It can be aligned to the left, right, or center. |
This section is used to configure how the text looks.
Property | Description |
---|---|
lockText | Prevents the text from the element from changing. |
dynamicTextSize | Changes the size of the fontface used for the text depending on the dimensions of the element. |
dynamicHeight | Change the height of the element based on the text content. |
dynamicWidth | Change the width of the element based on the text content. |
dontWrap | Prevents the text content from wrapping. |
truncateWithEllipsis | Truncates the text and places an ellipsis character at the end. |
showScrollbar | If the scrollbar should be visible or not. |
verticalAlign | If the element should be aligned vertically. |
leftMargin | The value in pixels for the left margin. |
rightMargin | The value in pixels for the right margin. |
fixedLineHeight | If the element should use a fixed line height. |
textHeight | The line height in pixels. |
blendLevel | How transparent the element is. |
textColor | The color of the text in the element. |
opaque | If the element is opaque or if it’s background is transparent. |
This section is contains properties that are specific to elements of type text.
Property | Description |
---|---|
name | The name of the element. Displayed in the project browser. |