androidx.compose.material3.adaptive.layout
PaneMarginsSince 1.3Experimental
Sealed interface · from org.jetbrains.compose.material3.adaptive:adaptive-layout:1.3.0
No hand-written docs yet.
Represents the margins of a pane within a pane scaffold.
sealed interface PaneMargins
How to get one
Ready-made values and functions that return it
Properties
Unspecified
val Unspecified: PaneMargins
Represents no margins being set.
Functions
getPaneLeft
fun Placeable.PlacementScope.getPaneLeft(measuredLeft: Int)
getPaneTop
fun Placeable.PlacementScope.getPaneTop(measuredTop: Int)
getPaneRight
fun Placeable.PlacementScope.getPaneRight(measuredRight: Int, parentRight: Int)
getPaneBottom
fun Placeable.PlacementScope.getPaneBottom(measuredBottom: Int, parentBottom: Int)
Library docs
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.