A layout with a single child, and the child is resized to fill the space (where possible).
capi
The class simple-layout
is a layout with a single child, and the child is resized to fill the space (where possible).
The description of a simple-layout
can be either a single child, or a list containing just one child. The simple layout then adopts the size constraints of its child, and lays the child out inside itself.
(capi:contain (make-instance 'capi:simple-layout :description (list (make-instance 'capi:text-input-pane))))
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42