
Hints are used to pass contraints into Widget.prefSize.
Slots
- def
-
static Hints def := Hints.?(null, null)
Default instance is null, null.
- equals
-
Return if obj is same Hints value.
- h
-
const Int h
Suggested height or null if no contraints
- hash
-
override Int hash()
Return hash of w and h.
- make
-
new make(Int w := null, Int h := null)
Construct with optional w, h.
- minus
-
Subtract the given w and h from this hint's dimensions. If a hint dimension is null, then the resulting dimension is null too.
- plus
-
Add the given w and h to this hint's dimensions. If a hint dimension is null, then the resulting dimension is null too.
- toStr
-
override Str toStr()
Return
"w,h"
- w
-
const Int w
Suggested width or null if no contraints