lvgl.label

Display a text 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 and justification for the text. E.G.: - MIDSIZE - DBLSIZE + RIGHT

0 (standard size)

Return values

LVGL object

API Status

Avail
Status
Comment

BW radios

Color radios

active

Change log

EdgeTX version
Change

2.11.0

Introduced

Was this helpful?