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

Hull and Outfitting

Setting Up the Gadget Tagwidth (TEXT, TOGGLE and OPTION): <fgtagw>

Setting Up the Gadget Tagwidth (TEXT, TOGGLE and OPTION): <fgtagw>

  • Last UpdatedJul 24, 2024
  • 1 minute read

The TAGWIDTH specifies the size of the gadget’s tag field in grid width units including any padding space, regardless of the actual tag string. Tagwidth is not needed for gadgets with an explicit area specification (width and height, lines or length). FRAME, LIST, SELECTOR, TEXTPANE and PARAGRAPH can always force an explicit width.

The syntax graph <fgtagw> defines the Tag specification.

>-- <fgtagw> --+- TAGWIDth val -+-------------.

‘----------------‘-- tagtext -‑‘-->

Figure 2:6. Syntax Graph -: Gadget Tagwidth

The <fgtagw> graph supports both the simple 'tagtext' setting and/or the specification of the maximum width of any tag.

If the tag width is not explicitly given then it is assumed to be the number of characters in the 'tagtext' string multiplied by the horizontal grid size (the notional character width for the font).

You can specify the tag width without specifying any tagtext at definition time; this can be added at run time.

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