Source set: Common
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
fun Placeable.PlacementScope.getPaneLeft(measuredLeft: Int) = measuredLeft
getPaneTop
Source set: Common
fun Placeable.PlacementScope.getPaneTop(measuredTop: Int) = measuredTop
getPaneRight
Source set: Common
fun Placeable.PlacementScope.getPaneRight(measuredRight: Int, parentRight: Int) = measuredRight
getPaneBottom
Source set: Common
fun Placeable.PlacementScope.getPaneBottom(measuredBottom: Int, parentBottom: Int) =
measuredBottom
Members
Companion
Source set: Common
companion object
Properties
Unspecified
Source set: Common
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.