A layout composable that arranges its children in a horizontal sequence.
SimpleSpatialRowSample
@Composable
public fun SimpleSpatialRowSample() {
Subspace {
SpatialRow(
verticalAlignment = SpatialAlignment.CenterVertically,
horizontalArrangement = SpatialArrangement.Center,
) {
SpatialPanel(SubspaceModifier.weight(0.3f)) { Text("Left Panel") }
SpatialPanel(modifier = SubspaceModifier.weight(0.3f)) { Text("Middle Panel") }
SpatialPanel(modifier = SubspaceModifier.weight(0.3f)) { Text("Right Panel") }
}
}
}