by @alexstyl
✉️ Leave your feedback

← Back to Foundation Layout

preferredHeightIn

Modifier
in
Foundation Layout
. Since 0.1.0-dev15

Overview

Examples

Community Notes

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.

Overloads

preferredHeightIn

fun Modifier.preferredHeightIn(
    min: Dp = Dp.Unspecified,
    max: Dp = Dp.Unspecified
)
Next ComponentAlignmentLineOffset