🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

Arrangement.Vertical

Used to specify the vertical arrangement of the layout's children in layouts like Column.

Source set: Common
public interface Vertical

Used to specify the vertical arrangement of the layout's children in layouts like Column.

Properties

spacing

Source set: Common
public val spacing: Dp

Spacing that should be added between any two adjacent layout children.

Functions

arrange

Source set: Common
public fun Density.arrange(totalSize: Int, sizes: IntArray, outPositions: IntArray)

Vertically places the layout children.

Parameters

totalSize Available space that can be occupied by the children, in pixels.
sizes An array of sizes of all children, in pixels.
outPositions An array of the size of sizes that returns the calculated positions relative to the top, in pixels.