CenterBox

@Composable
fun CenterBox(modifier: Modifier = Modifier, orientation: Orientation = Orientation.HORIZONTAL, start: @Composable () -> Unit = {}, end: @Composable () -> Unit = {}, baselinePosition: BaselinePosition = BaselinePosition.CENTER, shrinkCenterLast: Boolean = true, center: @Composable () -> Unit)

Creates a org.gnome.gtk.CenterBox that arranges three children in a row, keeping the middle child centered as well as possible.

Parameters

modifier

Compose Modifier for layout and styling.

orientation

The axis on which the children are aligned.

start

The start composable widget.

end

The end composable widget.

baselinePosition

The baseline position of the center box.

shrinkCenterLast

Whether to shrink the center widget after other children.

center

The center composable widget.