PML Customisation
User Guide
Form Layout
:
Syntax Graphs for Gadget Placement and Size
: Gadget Size Syntax
Gadget Size Syntax
The full syntax for gadget size (width and height) is as follows:
>-- <vwid> -- WIDth --+- val -->
|
+- TO -+- MIN -.
| +- CEN -|
| '- MAX -+- <gname> -.
| +-- FORM ---|
| '-----------|
| |
+- <gname> -. | .---<---.
| | |/ |
'-----------'---------------+- * val -*-->
| .-------<-------.
|/ |
+- + -. |
'- - -+--- val ---|
+-- HDIST --|
'- PADDING -*-->
>- <vhei> -+- HEIght -.
+- LENgth -|
'- LINes --+- val -->
|
+- TO -+- MIN -.
| +- CEN -|
| '- MAX -'-+- <gname> -.
| +-- FORM ---|
| '-----------|
| |
+- <gname> -. | .---<---.
| | |/ |
'-----------'--------------- +- * val -*-->
| .-------<-------.
|/ |
+- + -. |
'- - -+--- val ---|
+-- VDIST --|
'- PADDING -*-
-
>
Where:
1.
val
is a real value
2.
<gname> is a gadget dot-name such as
.gadgetA
3.
MIN, CEN, MAX refer to the gadget or FORM limits
4.
HDIST and VDIST are the horizontal and vertical auto-placement increments for the layout path
5.
PADDING is the extra spacing that F&M adds to left, right, top and bottom of a frame or the form.
Figure 17:14.
Syntax Graph -: Gadget size setting
The following example is valid syntax, which could be used to construct a frame .fr2 within an existing frame .fr2 (note that the space before and after the * is mandatory):
Frame .fr2
...
wid
to max.fr1 * 0.5 +
hdist
hei to max.fr1 * 0.5 -
padding
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.