Text String Widget
The Text String Widget renders plain text strings with configurable font size, alignment, wrap behavior, and background color.
JSON schema
Section titled “JSON schema”{ "id": "header_label", "type": "text", "x": 10, "y": 10, "w": 180, "h": 30, "value": "Hello Infrafon", "formatter": { "type": "string", "fontSize": 16, "fontColor": "WHITE", "backgroundColor": "TRANSPARENT", "align": "center", "wrap": true, },}Formatter properties
Section titled “Formatter properties”| Attribute | Type | Default | Description |
|---|---|---|---|
type |
"string" |
Required | Formatter discriminator. |
fontSize |
number |
14 |
Font size in points. |
fontColor |
string |
"WHITE" |
Text color name. |
align |
string |
"left" |
Alignment ("left", "center", "right"). |
wrap |
boolean |
false |
Enable multi-line word wrap. |