Skip to content

common • net.kernelpanicsoft.archie.gui.layout • Arrangement • HorizontalOrVertical

HorizontalOrVertical


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

Properties

spacing


open override val spacing: Dp

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

Functions

arrange


abstract fun arrange(totalSize: Int, sizes: IntArray, layoutDirection: LayoutDirection, outPositions: IntArray)

Horizontally places the layout children.


abstract fun arrange(totalSize: Int, sizes: IntArray, outPositions: IntArray)

Vertically places the layout children.