In Combining different layouts, you created a window with five panes, by combining row and column layouts. Now consider changing the definition of the editor pane so that it is required to have a minimum size. This would be a sensible change to make, because editor panes need to be large enough to work with comfortably.
:text "An editor pane with minimum size"
:visible-min-width '(:character 30)
:visible-min-height '(:character 10)))
Now display a window similar to the last example, but with the
editor pane. Note that it is only the decription of the top-level column layout which differs. Before entering the following into the listener, you should close all the windows created in this chapter in order to free up the instances of
and so forth.
(contain (make-instance 'column-layout
(list row1 row2 editor2)))
You will not be able to resize the window any smaller than this:
Figure 7.6 The result of resizing the sample layout
CAPI User Guide (Macintosh version) - 30 Aug 2011