1 CAPI Reference Entries
column-layout
lays its children out in a column.
grid-layout
ratios
adjust
gap
uniform-size-p
Should each child in the row have the same height?
layout-ratios
column-layout
lays its children out by inheriting the behavior fromgrid-layout
. The description is a list of the layout's children, and the layout also translates theinitargs
ratios
,adjust
,gap
anduniform-size-p
into thegrid-layout
's equivalent keywordsy-ratios
, x-adjust
,y-gap
andy-uniform-size-p
.
(capi:contain (make-instance 'capi:column-layout :description (list (make-instance 'capi:push-button :text "Press me") "Title" (make-instance 'capi:list-panel :items '(1 2 3)))))(setq column (capi:contain (make-instance 'capi:column-layout :description (list (make-instance 'capi:push-button :text "Press me") "Title:" (make-instance 'capi:list-panel :items '(1 2 3))) :adjust :center)))
(setf (capi:layout-x-adjust column) :right)
(setf (capi:layout-x-adjust column) :left)
(setf (capi:layout-x-adjust column) :center)
row-layout
Generated with Harlequin WebMaker