-stretchFields
(As of 3.2.001.06)
Control whether fields can stretch vertically to the parent.
Syntax
-stretchFields
Y|
N
The default setting is N, i.e., do not stretch.
Description
Control whether Merge allows fields to stretch vertically; in the same way, DocOrigin stretches vertical lines that touch a pane edge-to-edge. This is useful when fields are used to define the object borders of a table.
Applying -stretchFields
Y causes the fields that touch a pane edge-to-edge to extend the height of the pane. Hence, all cells match in the pane.
As of 3.3.003.01 -stretchFields
can be applied as a tag in Design, allowing control at the object level.
Note that child objects of the tagged object are affected so you can place the tag on the pane so all child fields will grow to height.
This feature is unavailable for other objects, such as groups or boxes. However, you can replicate the same behavior by adding the following script to the objects you want to dynamically adjust to match the height of the parent pane. this._height = this._parent._height;