common • net.kernelpanicsoft.archie.gui.layout • Arrangement • Absolute • spacedBy
spacedBy
@Stablefun spacedBy(space: Dp): Arrangement.HorizontalOrVerticalPlace children such that each two adjacent ones are spaced by a fixed space distance across the main axis. The spacing will be subtracted from the available space that the children can occupy.
Unlike Arrangement.spacedBy, when the layout direction is RTL, the children will not be mirrored and as such children will appear in the order they are composed inside the Row.
Parameters
@Stablefun spacedBy(space: Dp, alignment: Alignment.Horizontal): Arrangement.HorizontalPlace children horizontally such that each two adjacent ones are spaced by a fixed space distance. The spacing will be subtracted from the available width that the children can occupy. An alignment can be specified to align the spaced children horizontally inside the parent, in case there is empty width remaining.
Unlike Arrangement.spacedBy, when the layout direction is RTL, the children will not be mirrored and as such children will appear in the order they are composed inside the Row.
Parameters
@Stablefun spacedBy(space: Dp, alignment: Alignment.Vertical): Arrangement.VerticalPlace children vertically such that each two adjacent ones are spaced by a fixed space distance. The spacing will be subtracted from the available height that the children can occupy. An alignment can be specified to align the spaced children vertically inside the parent, in case there is empty height remaining.
Unlike Arrangement.spacedBy, when the layout direction is RTL, the children will not be mirrored and as such children will appear in the order they are composed inside the Row.