clampWidth

Same as setW but returns itself, and won't recompute if the layout is empty. This is often used up front to, as the name implies, clamp the allowable width of a new layout before adding elements.

Return

this layout

Author

fzzyhmstrs

Since

0.6.0

Parameters

width

Int width in pixels