Box

@Composable
fun Box(modifier: Modifier = Modifier, orientation: Orientation = Orientation.HORIZONTAL, spacing: Int = 0, homogeneous: Boolean = false, content: @Composable () -> Unit)

Creates a org.gnome.gtk.Box that arranges child widgets into a single row or column.

Parameters

modifier

Compose Modifier for layout and styling.

orientation

The axis on which the children are aligned.

spacing

The space between the child widgets.

homogeneous

Whether all children are given equal space in the box.

content

The composable content to display.