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

PaneMargins

Represents the margins of a pane within a pane scaffold.

Source set: Common
public sealed interface PaneMargins

Represents the margins of a pane within a pane scaffold.

Note that the margins are specified as offsets from the edges of the scaffold. To specify the internal spacer size please do it via PaneScaffoldDirective.horizontalPartitionSpacerSize and PaneScaffoldDirective.verticalPartitionSpacerSize.

This is typically set by the paneMargins modifier.

Functions

getPaneLeft

Source set: Common
public fun Placeable.PlacementScope.getPaneLeft(measuredLeft: Int): Int

getPaneTop

Source set: Common
public fun Placeable.PlacementScope.getPaneTop(measuredTop: Int): Int

getPaneRight

Source set: Common
public fun Placeable.PlacementScope.getPaneRight(measuredRight: Int, parentRight: Int): Int

getPaneBottom

Source set: Common
public fun Placeable.PlacementScope.getPaneBottom(measuredBottom: Int, parentBottom: Int): Int

Members

Companion

Source set: Common
public companion object

Properties

Unspecified

Source set: Common
public val Unspecified: PaneMargins = Unspecified()

Represents no margins being set.

When set to Unspecified, the pane's position will not be affected by margins. The edges of the pane may touch the edges of the scaffold.

Content updated: