lvgl.box

Create a container for managing object layout.

Syntax

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

parent:box({settings})

Parameters

See the API page for parameter description and common settings.

Box specific settings:

NameTypeDescriptionDefault if not set

flexFlow

Flow type - lvgl.FLOW_COLUMN or lvgl.FLOW_ROW

Enable flex layout for this box.

not used

flexPad

Number

When flex layout is used, set the padding between rows or columns. Recommended to use the lvgl.PAD_xxx values.

0

Return values

LVGL object

API Status

AvailStatusComment

BW radios

Color radios

active

Return values

LVGL object

Change log

EdgeTX versionChange

2.11.0

Introduced