Possible Solutions
- Last UpdatedNov 14, 2022
- 1 minute read
The following is an armory of techniques that can remedy conversion misalignments:
-
For gadget tag texts aligned by padding with spaces - remove the padding spaces, set a PML variable !wid = <desired width in grid units>, then use tagwid $!wid for each gadget that is to be aligned. You can then experiment with different values of !wid until they get an acceptable result. You can use the same $!wid value for the widths of other gadget types, e.g. button, toggle, radio-button etc. to align them with the gadget tags.
-
For other gadget text, e.g. a paragraph with literal text value, you can force alignment of non-tag parts of gadgets to a common value e.g. wid $!wid, wid.<other_gadget_width>, wid to max.<other_gadget> or wid to min.<other_gadget>.
-
The new gadget Positional Extent syntax 'width to…' and 'height to…' will solve many alignment problems because it forces a gadget to extend from it's specified (or implied) starting co-ordinate to the max, min or centre of the target gadget.