All Manuals > Common Lisp Interface Manager 2.0 User's Guide > Chapter 10 Panes and Gadgets > 10.2 Layout Panes

NextPrevUpTopContentsIndex

10.2.1 Layout Pane Options

:contents 

Summary: All layout pane classes accept the :contents options, which specifies the child panes to be laid out.

:width 
:max-width 
:min-width   
:height 
:max-height 
:min-height 

Summary: These options control the space requirement parameters for laying out the pane. The :width and :height options specify the preferred horizontal and vertical sizes. The :max-width and :max-height options specify the maximum amount of space that may be consumed by the pane, and give CLIM's pane layout engine permission to grow the pane beyond the preferred size. The :min-width and :min-height options specify the minimum amount of space that may be consumed by the pane, and give CLIM's pane layout engine permission to shrink the pane below the preferred size.

If either the :max-width or the :min-width option is not supplied, it defaults to the value of the :width option. If either the :max-height or the :min-height option is not supplied, it defaults to the value of the :height option.

:max-width , :min-width , :max-height , and :min-height can also be specified as a relative size by supplying a list of the form ( number :relative ). In this case, the number indicates the number of device units that the pane is willing to stretch or shrink.

The values of these options are specified in the same way as the :x-spacing and :y-spacing options to formatting-table . (Note that :character and :line may only be used on those panes that display text, such as a clim-stream-pane or a label-pane .)

+fill+

Summary: Use this constant as a value to any of the relative size options. It indicates that pane's willingness to adjust an arbitrary amount in the specified direction.

:align-x 
:align-y 

Summary: The :align-x option is one of :right , :center , or :left . The :align-y option is one of :top , :center , or :bottom . These specify how child panes are aligned within the parent pane. These have the same semantics as for formatting-cell .

:x-spacing 
:y-spacing 
:spacing 

Summary: These spacing options apply to hbox-pane , vbox-pane , table-pane , and indicate the amount of horizontal and vertical spacing (respectively) to leave between the items in boxes or rows and columns in table. The values of these options are specified in the same way as the :x-spacing and :y-spacing options to formatting-table . :spacing specifies both the x and y spacing at once.


Common Lisp Interface Manager 2.0 User's Guide - 7 Aug 2017

NextPrevUpTopContentsIndex