Class | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version