Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Gadget Size Syntax

  • Last UpdatedOct 30, 2024
  • 1 minute read

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:

  • val is a REAL value.

  • <gname> is a gadget dot-name such as .gadgetA.

  • MIN, CEN, MAX refer to the gadget or FORM limits.

  • HDIST and VDIST are the horizontal and vertical auto-placement increments for the layout path.

  • 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

TitleResults for “How to create a CRG?”Also Available in