Function

heightIn

Constrain the height of the content to be between mindp and maxdp as permitted by the incoming measurement constraints.

heightIn

Source set: Android
public fun SubspaceModifier.heightIn(
    min: Dp = Dp.Unspecified,
    max: Dp = Dp.Unspecified,
): SubspaceModifier

Constrain the height of the content to be between mindp and maxdp as permitted by the incoming measurement constraints. If the incoming constraints are more restrictive the requested size will obey the incoming constraints and attempt to be as close as possible to the preferred size.

Parameters

min The minimum height.
max The maximum height.

Last updated: