relayout ( gadget -- )
Factor handbook > UI framework > Building user interfaces > Gadget hierarchy and layouts > Layout basics

Prev:find-parent ( gadget quot -- parent )
Next:relayout-1 ( gadget -- )


Vocabulary
ui.gadgets

Inputs and outputs
gadgeta gadget


Word description
Relayout and redraw a gadget before the next iteration of the event loop. Unlike relayout-1, this relayouts all parents up to a gadget having root? set, so this word should be used when the gadget's dimensions have potentially changed.

See also
relayout-1

Definition