Vocabulary
ui.gadgets

Inputs
gadgeta gadget


Outputs
dima pair of integers


Generic word contract
Outputs the preferred dimensions of the gadget, possibly computing them from the preferred dimensions of the gadget's children.

Notes
User code should not call this word directly, instead call pref-dim.

See also
pref-dim, layout, layout*

Definition

GENERIC: pref-dim* ( gadget -- dim )


Methods