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

PaneExpansionAnchor.Proportion

PaneExpansionAnchor implementation that specifies the anchor position in the proportion of the total size of the layout at the start side of the anchor.

Source set: Common
public class Proportion(@FloatRange(0.0, 1.0) public val proportion: Float) :
        PaneExpansionAnchor()

PaneExpansionAnchor implementation that specifies the anchor position in the proportion of the total size of the layout at the start side of the anchor.

Parameters

proportion the proportion of the layout at the start side of the anchor. For example, if the current layout from the start to the end is list-detail, when the proportion value is 0.3 and this anchor is used, the list pane will occupy 30% of the layout and the detail pane will occupy 70% of it.

Properties

type

Source set: Common
override val type = ProportionType

description

Source set: Common
public override val description: String

description

Source set: Common
override val CompositionLocalConsumerModifierNode.description: String

Content updated: