max-dims ( seq -- dim )
Factor handbook » UI framework » Building user interfaces » Gadget hierarchy and layouts » Implementing layout gadgets

Prev:prefer ( gadget -- )
Next:sum-dims ( seq -- dim )


Vocabulary
ui.gadgets

Inputs
seqa sequence of pairs of integers


Outputs
dima pair of integers


Word description
Outputs the smallest dimensions of a rectangle which can fit all the dimensions in the sequence.

See also
pref-dims, sum-dims

Definition