Package-level declarations

Types

Link copied to clipboard

Provides options used to align children in a Flex layout.

Link copied to clipboard

Provides options used to align children in a Flex layout.

Link copied to clipboard

Provides options used to align children in a Flex layout.

Functions

Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellColumnSpan(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellRowPosition(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellRowSpan(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellXAlignment(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellYAlignment(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridRowDescriptor(part: LvglPart = LvglPart.MAIN): Array<Short>
Link copied to clipboard
expect fun LvglObjectBase.setFlexAlign(mainPlace: FlexAlignment, crossPlace: FlexAlignment, trackCrossPlace: FlexAlignment)

Manages placement of children in a Flexbox layout. The possible values are the following:

actual fun LvglObjectBase.setFlexAlign(mainPlace: FlexAlignment, crossPlace: FlexAlignment, trackCrossPlace: FlexAlignment)
actual fun LvglObjectBase.setFlexAlign(mainPlace: FlexAlignment, crossPlace: FlexAlignment, trackCrossPlace: FlexAlignment)
Link copied to clipboard

Sets up the Flexbox layout on the object. All possible values for this function include the following:

Link copied to clipboard
expect fun LvglObjectBase.setFlexGrow(grow: UByte)

Used to make one or more children fill the available space on the track. If more children has grow the available space will be distributed proportionally to the grow values. For example, let's say there is 400 pixels remaining space and 4 objects with grow:

actual fun LvglObjectBase.setFlexGrow(grow: UByte)
actual fun LvglObjectBase.setFlexGrow(grow: UByte)
Link copied to clipboard
expect fun LvglObjectBase.setGridAlignment(columnAlign: GridAlignment, rowAlign: GridAlignment)

Changes the grid alignment.

actual fun LvglObjectBase.setGridAlignment(columnAlign: GridAlignment, rowAlign: GridAlignment)
actual fun LvglObjectBase.setGridAlignment(columnAlign: GridAlignment, rowAlign: GridAlignment)
Link copied to clipboard
expect fun LvglObjectBase.setGridCell(columnAlign: GridAlignment, colPos: UByte, colSpan: UByte, rowAlign: GridAlignment, rowPos: UByte, rowSpan: UByte)

Set the cell of an object. The object's parent needs to have grid layout, else nothing will happen.

actual fun LvglObjectBase.setGridCell(columnAlign: GridAlignment, colPos: UByte, colSpan: UByte, rowAlign: GridAlignment, rowPos: UByte, rowSpan: UByte)
actual fun LvglObjectBase.setGridCell(columnAlign: GridAlignment, colPos: UByte, colSpan: UByte, rowAlign: GridAlignment, rowPos: UByte, rowSpan: UByte)
Link copied to clipboard
Link copied to clipboard
expect fun Style.setGridCellColumnSpan(value: Short)
actual fun Style.setGridCellColumnSpan(value: Short)
actual fun Style.setGridCellColumnSpan(value: Short)
Link copied to clipboard
Link copied to clipboard
expect fun Style.setGridCellRowSpan(value: Short)
actual fun Style.setGridCellRowSpan(value: Short)
actual fun Style.setGridCellRowSpan(value: Short)
Link copied to clipboard
expect fun Style.setGridCellXAlignment(value: Short)
actual fun Style.setGridCellXAlignment(value: Short)
actual fun Style.setGridCellXAlignment(value: Short)
Link copied to clipboard
expect fun Style.setGridCellYAlignment(value: Short)
actual fun Style.setGridCellYAlignment(value: Short)
actual fun Style.setGridCellYAlignment(value: Short)
Link copied to clipboard
Link copied to clipboard
expect fun Style.setGridColumnDescriptor(vararg values: Short)
actual fun Style.setGridColumnDescriptor(vararg values: Short)
actual fun Style.setGridColumnDescriptor(vararg values: Short)
Link copied to clipboard
Link copied to clipboard
expect fun Style.setGridRowDescriptor(vararg values: Short)
actual fun Style.setGridRowDescriptor(vararg values: Short)
actual fun Style.setGridRowDescriptor(vararg values: Short)
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridCellColumnSpan(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellColumnSpan(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellColumnSpan(selector: UInt, value: Short)
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridCellRowSpan(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellRowSpan(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellRowSpan(selector: UInt, value: Short)
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridCellXAlignment(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellXAlignment(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellXAlignment(selector: UInt, value: Short)
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridCellYAlignment(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellYAlignment(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellYAlignment(selector: UInt, value: Short)
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridColumnDescriptor(selector: UInt, vararg values: Short)
actual fun LvglObjectBase.setStyleGridColumnDescriptor(selector: UInt, vararg values: Short)
actual fun LvglObjectBase.setStyleGridColumnDescriptor(selector: UInt, vararg values: Short)
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridRowDescriptor(selector: UInt, vararg values: Short)
actual fun LvglObjectBase.setStyleGridRowDescriptor(selector: UInt, vararg values: Short)
actual fun LvglObjectBase.setStyleGridRowDescriptor(selector: UInt, vararg values: Short)
Link copied to clipboard

Converts a value to a FlexAlignment.

Link copied to clipboard
expect fun UInt.toFlexFlow(): FlexFlow

Converts a value to a FlexFlow.

actual fun UInt.toFlexFlow(): FlexFlow
actual fun UInt.toFlexFlow(): FlexFlow
toGridAlignment
Link copied to clipboard
fun lv_grid_align_t.toGridAlignment(): GridAlignment
fun lv_grid_align_t.toGridAlignment(): GridAlignment
toLvFlexAlign
Link copied to clipboard
fun FlexAlignment.toLvFlexAlign(): lv_flex_align_t
fun FlexAlignment.toLvFlexAlign(): lv_flex_align_t
toLvGridAlign
Link copied to clipboard
fun GridAlignment.toLvGridAlign(): lv_grid_align_t
fun GridAlignment.toLvGridAlign(): lv_grid_align_t

Properties

Link copied to clipboard

A unique value for FlexAlignment.

expect val FlexFlow.value: UInt

A unique value for FlexFlow.

actual val FlexFlow.value: UInt
actual val FlexFlow.value: UInt