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 )


Inputs and outputs
seqa sequence of pairs of integers
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