Places a size-shaped child against the bounds - the anchor half of a data-driven shell, the
part GUI2 spells as [cell] anchoring a widget inside its slot.
A fill anchor takes the bounds (minus margins) whole; every other anchor lines the child up on
the named edge and then applies the offsets, so { anchor: 'bottom-right', offsetX: -8 } pins a
button eight pixels in from the bottom-right corner.
Places a
size-shaped child against the bounds - the anchor half of a data-driven shell, the part GUI2 spells as[cell]anchoring a widget inside its slot.A
fillanchor takes the bounds (minus margins) whole; every other anchor lines the child up on the named edge and then applies the offsets, so{ anchor: 'bottom-right', offsetX: -8 }pins a button eight pixels in from the bottom-right corner.