constrainHeight
Source set: Common
public fun Constraints.constrainHeight(height: Int): Int
Takes a height and returns the closest size to it that satisfies the constraints.
Takes a height and returns the closest size to it that satisfies the constraints.
public fun Constraints.constrainHeight(height: Int): Int
Takes a height and returns the closest size to it that satisfies the constraints.