TagWidth Attribute
- Last UpdatedOct 26, 2022
- 1 minute read
Gadgets with an in-line tag have a TagWidth keyword, which allows the tag width to be specified in horizontal grid units.
!wid = 9
toggle .tog1 tagwid $!wid |BBC news 24|
toggle .tog2 tagwid $!wid |BBC 1|
This is only necessary to:
-
Reserve space for a tag, which is to be set or modified later.
-
Make sure alignment of the interactors of two or more such gadgets.
Otherwise, the tag will be sized directly by the gadget's explicit tag text.