This keyword specifies the layout of properties in a Diagram, Symbol, or Definition dialog.
Note The Symbol dialog is included as the last tab of a Definition dialog.
In the LAYOUT command’s opening and closing brackets, use arguments to specify the layout of all properties called out under that LAYOUT command. Specify how many columns the properties of the dialog should be laid out into, and how the properties should be aligned.
You can have more than one LAYOUT command specified for a Diagram, Symbol, or Definition dialog. You may specify a LAYOUT command for an entire dialog, and/or override it in each GROUP in a dialog, or in each tab (CHAPTER) in a dialog.
Syntax
LAYOUT { [alignment_criteria] [PACK_TAB_criteria] [Number of Columns] [JUSTIFY] }
Or more specifically:
LAYOUT {[ ALIGN BODY | ALIGN LABEL | ALIGN OVER ] [ PACK | TAB ] [COLS <number>] [JUSTIFY] }
Example
SYMBOL "Object" IN "Sequence"
{
LAYOUT { COLS 2 ALIGN OVER } PROPERTY "Package" { EDIT OneOf "Package" READONLY } PROPERTY "Class" { EDIT OneOf "Class" KEYED BY { "Package", Name } REQUIRED READONLY }
..}
In the example above, all properties in the object’s symbol dialog are laid out in two columns.
The LAYOUT { ALIGN OVER } command works only when it is under a Chapter with a name as shown here:
Diagram "SMSDIAGRAM"
{
Chapter "My Properties"
LAYOUT { ALIGN OVER }
PROPERTY "SMSVERSION" {ZOOMABLE EDIT TEXT LENGTH 250 LINES 3}