lvgl.label¶
Syntax¶
lvgl.label([parent], {settings})
parent:label({settings})
Parameters¶
See the API page for parameter description and common settings.
Label specific settings:
| Name | Type | Description | Default if not set |
|---|---|---|---|
| text | String or Function | Set the text to be displayed on the label | Empty string |
| font | Font value or Function | Sets the font size. E.G.: - MIDSIZE - DBLSIZE | STDSIZE |
| align | Text alignment value or function | Sets the justification for the text. RIGHT and CENTER alignment require the width for the label to be set. | LEFT |
Return values¶
LVGL object
API Status¶
| Avail | Status | Comment | |
|---|---|---|---|
| BW radios | false | ||
| Color radios | true | active |
Change log¶
| EdgeTX version | Change |
|---|---|
| 2.11.0 | Introduced |