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.

See also
paneMargins

Summary

Public companion properties

PaneMargins

Represents no margins being set.

Cmn

Public functions

open Int
Placeable.PlacementScope.getPaneBottom(
    measuredBottom: Int,
    parentBottom: Int
)
Cmn
open Int
Cmn
open Int
Placeable.PlacementScope.getPaneRight(
    measuredRight: Int,
    parentRight: Int
)
Cmn
open Int
Cmn

Public companion properties

Unspecified

val UnspecifiedPaneMargins

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.

Public functions

open fun Placeable.PlacementScope.getPaneBottom(
    measuredBottom: Int,
    parentBottom: Int
): Int
open fun Placeable.PlacementScope.getPaneRight(
    measuredRight: Int,
    parentRight: Int
): Int