PML Customisation
User Guide
Form Layout
:
Gadget Size Management
: Set Size to the Positional Extent of a Previous Gadget
Set Size to the Positional Extent of a Previous Gadget
A new gadget's size component can be specified as the distance from its placement position co-ordinate to the Positional Extent of another gadget (
MIN
imum,
CEN
tre or
MAX
imum), for example:
frame .fr2 |Frame 2| at ymax.fr1 Width To min.fr1 Height To cen
frame .fr3 |Frame 3| at ymax.fr2 Width To max.fr1 Height To max Form
The
width
of fr2 extends from its implied X-position (XMIN of last placed gadget) to the minimum X-position of gadget fr1. Its
height
extends from its specified Y-position (YMAX of fr1) to the centre position of the most recently defined gadget.
Notes:
1.
Sizing to a positional extent makes accurate aligning of gadgets much easier and is essential for laying complex resizable forms
2.
It
always defines the full gadget size component
, regardless of gadget type or presence of tag text.
3.
See full syntax in section Gadget Size Syntax.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.