Class
form-layout lays its children out in a form. form-vertical-gap
form-vertical-adjust
form-title-gap
form-title-adjust
grid-layout, and will probably be removed at some point in the future. The examples below demonstrate the use of grid layouts as an alternative to forms.
(setq children (list
"Button:"
(make-instance 'capi:push-button
:text "Press Me")
"Enter Text:"
(make-instance 'capi:text-input-pane)
"List:"
(make-instance 'capi:list-panel
:items '(1 2 3))))
(capi:contain (make-instance
'capi:grid-layout
:description children
:x-adjust '(:right :left)
:y-adjust :center))
grid-layoutlayout