SpatialColumn

Functions summary

inline Unit
@Composable
@SubspaceComposable
SpatialColumn(
    modifier: SubspaceModifier,
    alignment: SpatialAlignment,
    verticalArrangement: SpatialArrangement.Vertical,
    crossinline content: @Composable @SubspaceComposable SpatialColumnScope.() -> Unit
)

This function is deprecated. Use SpatialColumn with horizontalAlignment and depthAlignment instead.

inline Unit
@Composable
@SubspaceComposable
SpatialColumn(
    modifier: SubspaceModifier,
    horizontalAlignment: SpatialAlignment.Horizontal,
    depthAlignment: SpatialAlignment.Depth,
    verticalArrangement: SpatialArrangement.Vertical,
    crossinline content: @Composable @SubspaceComposable SpatialColumnScope.() -> Unit
)

A layout composable that arranges its children in a vertical sequence.

Functions

SpatialColumn

@Composable
@SubspaceComposable
inline fun SpatialColumn(
    modifier: SubspaceModifier = SubspaceModifier,
    alignment: SpatialAlignment,
    verticalArrangement: SpatialArrangement.Vertical = SpatialArrangement.Center,
    crossinline content: @Composable @SubspaceComposable SpatialColumnScope.() -> Unit
): Unit

A layout composable that arranges its children in a vertical sequence.

For arranging children horizontally, see SpatialRow.

Parameters
modifier: SubspaceModifier = SubspaceModifier

Modifiers to apply to the layout.

alignment: SpatialAlignment

The default alignment for child elements within the column.

verticalArrangement: SpatialArrangement.Vertical = SpatialArrangement.Center

The vertical arrangement of the children.

crossinline content: @Composable @SubspaceComposable SpatialColumnScope.() -> Unit

The composable content to be laid out vertically.

SpatialColumn

@Composable
@SubspaceComposable
inline fun SpatialColumn(
    modifier: SubspaceModifier = SubspaceModifier,
    horizontalAlignment: SpatialAlignment.Horizontal = SpatialAlignment.CenterHorizontally,
    depthAlignment: SpatialAlignment.Depth = SpatialAlignment.CenterDepthwise,
    verticalArrangement: SpatialArrangement.Vertical = SpatialArrangement.Center,
    crossinline content: @Composable @SubspaceComposable SpatialColumnScope.() -> Unit
): Unit

A layout composable that arranges its children in a vertical sequence.

For arranging children horizontally, see SpatialRow.

Parameters
modifier: SubspaceModifier = SubspaceModifier

Modifiers to apply to the layout.

horizontalAlignment: SpatialAlignment.Horizontal = SpatialAlignment.CenterHorizontally

The default horizontal alignment for child elements within the column.

depthAlignment: SpatialAlignment.Depth = SpatialAlignment.CenterDepthwise

The default depth alignment for child elements within the column.

verticalArrangement: SpatialArrangement.Vertical = SpatialArrangement.Center

The vertical arrangement of the children.

crossinline content: @Composable @SubspaceComposable SpatialColumnScope.() -> Unit

The composable content to be laid out vertically.