FlowBox

@Composable
fun FlowBox(modifier: Modifier = Modifier, orientation: Orientation = Orientation.HORIZONTAL, activateOnSingleClick: Boolean = true, columnSpacing: Int = 0, rowSpacing: Int = 0, horizontalAdjustment: Adjustment = nullAdjustment, verticalAdjustment: Adjustment = nullAdjustment, homogeneous: Boolean = false, maxChildrenPerLine: Int = 7, minChildrenPerLine: Int = 0, content: @Composable () -> Unit)

Creates a org.gnome.gtk.FlowBox that arranges its children in a reflowing grid.

Parameters

modifier

Compose Modifier for layout and styling.

orientation

The axis on which the children are aligned.

activateOnSingleClick

Whether children can be activated with a single click instead of a double click.

columnSpacing

The horizontal space between two children.

rowSpacing

The vertical space between two children.

horizontalAdjustment

An Adjustment used to change the horizontal handling of the children.

verticalAdjustment

An Adjustment used to change the vertical handling of the children.

homogeneous

Whether all children should be allocated the same size.

maxChildrenPerLine

The maximum amount of children on a line.

minChildrenPerLine

The minimum amount of children on a line.

content

The composable children.

TODO:

  • model

  • select

  • filter?

  • sort?