Skip to content

Text List Widget

The Text List Widget maps an integer index to a human-readable string from a predefined list.

{
"id": "mode_select",
"type": "text",
"x": 20,
"y": 80,
"w": 160,
"h": 30,
"value": 1,
"formatter": {
"type": "list",
"options": ["NORMAL", "ECO MODE", "HIGH POWER", "MAINTENANCE"],
"fontSize": 14,
"fontColor": "WHITE",
},
}