Generic Function | 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

Arguments: object-editor

Returns the `layout-spacing` object of an `object-editor` dialog. The value may be set at creation time with the layout-spacing initarg, or any time later by calling (setf layout-spacing). Typically a custom `layout-spacing` (if used) should be provided when the `object-editor` is created so that it is used for the initial widget layout.

Code for creating an object-editor with a layout-spacing could look something like this code fragment:

    (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
                        ...))

The value should be a `layout-spacing` object that was created by calling make-instance on the `layout-spacing` class. If a new `object-editor` is not explicitly given a `layout-spacing` object at creation time, then a `layout-spacing` object with default values is created automatically and given to the `object-editor`.

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