WARNING: Cushy is in early alpha. This guide doubly so.

Resize

The Resize widget constrains and/or overrides its child's size.

The resize widget uses DimensionRanges to specify the allowed range of dimensions that its child can use. DimensionRange implements From for all of the built-in range types in Rust with Lp, Px, or Dimension bounds.