constrainWidth
Source set: Common
public fun Constraints.constrainWidth(width: Int): Int
Takes a width and returns the closest size to it that satisfies the constraints.
Takes a width and returns the closest size to it that satisfies the constraints.
public fun Constraints.constrainWidth(width: Int): Int
Takes a width and returns the closest size to it that satisfies the constraints.
Content updated: