Class | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## layout-spacing

The class of `layout-spacing` sub-objects of `object-editor` dialogs. If the default spacing that is used when an object-editor automatically lays out its widgets is not satisfactory, then the object-editor can be given a layout-spacing object whose properties specify custom spacing values.

The Class Interface Editor dialog does not include widgets for specifying this value interactively, but it could edited in the Inspect dialog after the Class Interface Editor sets up an `object-editor` form window.

Creating an `object-editor` programmatically with a `layout-spacing` sub-object would have this general format:

    (make-window :my-object-editor
      :class 'object-editor
      :edited-class ...
      :edited-slots ...
      :layout-spacing (make-instance 'layout-spacing
                        :layout-widget-spacing 4
                        :layout-outer-margin 12
                        ...))

Here are the particular properties of a `layout-spacing` object:

- layout-outer-margin
- layout-widget-width
- layout-single-line-widget-height
- layout-multi-line-widget-height
- layout-widget-spacing
- layout-label-spacing
- layout-column-spacing
- layout-button-height
- layout-button-width
- layout-button-spacing
- layout-button-group-spacing
- layout-table-height

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version