<flex-border> ( gadget gaps -- gadget' )
Flex borders


gadgeta gadget to add padding to
gapsa (width, height) pair of padding sizes

gadget'a new wrapper gadget that contains the gadget and some padding gadgets

Word description
Creates a new wrapper gadget that contains gadget and some padding gadgets. The size of the padding is given in gaps. If one of the dimensions in gaps is zero or negative, the corresponding padding is not added. If both dimensions are zero or negative, <flex-border> does nothing.

For example, gadget { 0 25 } <flex-border> adds 25 pixels of padding on top and bottom of the gadget, but not on the sides.