lvgl.font

Display a button showing a font name. When tapped a popup menu is opened to choose a font from. Uses EdgeTX styling.

Syntax

lvgl.font([parent], {settings})

parent:font({settings})

Parameters

See the API page for parameter description and common settings.

Choice specific settings:

Return values

LVGL object

Notes

The popup menu is closed when the user selects an item, and the 'set' function is called.

If the user taps outside the menu or the RTN key is pressed, the popup menu is closed and the 'set' function is not called.

API Status

Change log