factor/core/ui/gadgets/borders.facts

10 lines
445 B
Plaintext

IN: gadgets-borders
USING: help gadgets ;
HELP: border
{ $class-description "A border gadget contains a single child and centers it, with a fixed-width border. Borders are created by calling " { $link <border> } "." } ;
HELP: <border>
{ $values { "child" gadget } { "gap" "a pair of integers" } { "border" "a new " { $link border } } }
{ $description "Creates a new border around the child with the specified horizontal and vertical gap." } ;