Horizontal

@Stable
fun interface Horizontal

Horizontal placement of a child within the width available to it, resolved against the container's ComponentOrientation.

Functions

Link copied to clipboard
abstract fun align(size: Int, space: Int, orientation: ComponentOrientation): Int

The child's offset from the left of space, for a child size pixels wide in a container laid out under orientation.