Settings that manage several graphical interface defaults of XFDL forms viewing applications.
<defaults>
<borderstyle>3D | solid | rounded</borderstyle>
<autohighlight>on | off</autohighlight>
<themecolor>ColorSpec</themecolor>
<buttoneffects>
<focusglow>off | on | transparent | ColorSpec</focusglow>
<hoverglow>off | on | transparent | ColorSpec</hoverglow>
<disabledlook>on | off</disabledlook>
<gradienttype>none | linear | split | center</gradienttype>
</buttoneffects>
</defaults>
Option | Value | Description |
---|---|---|
borderstyle | 3D | Draws a rectangle around the item to give a sunken appearance. |
solid | Draws a solid rectangle around the item. | |
rounded | Draws a solid rectangle with rounded corners around the item. | |
autohighlight | on | When on, the contents of single line fields and comboboxes are highlighted when they gain the focus. |
off | When off, the contents of single line fields and comboboxes are not highlighted when they gain the focus. | |
themecolor | ColorSpec | The color that is used for the default values of the <bgcolor> option of buttons, the <fontcolor> of lines, and the <color> of the borderinfo option of all items except button items and line items. The color must be a RGB value, hexadecimal color value, or valid XFDL color name. |
focusglow | on | When on, button items are displayed with a glow effect when they have focus. |
off | When off, button items are not displayed with a glow effect when they have focus. | |
transparent | Sets the focusglow to off. | |
ColorSpec | Sets the focusglow to on and overrides the default color used for the glow effect. The color must be a RGB value, hexadecimal color value, or valid XFDL color name. | |
hoverglow | on | When on, button items are displayed with a glow effect when the mouse cursor hovers over the item. |
off | When off, button items are not displayed with a glow effect when the mouse cursor hovers over the item. | |
transparent | Sets the hoverglow to off. | |
ColorSpec | Sets the hoverglow to on and overrides the default color used for the glow effect. The color must be a RGB value, hexadecimal color value, or valid XFDL color name. | |
disabledlook | on | When on, button items change appearance when they are disabled. |
off | When off, button items do not change appearance when they are disabled. | |
gradienttype | none | Turns off gradients for all button items that do not have their own <gradient> option. |
linear | A vertical gradient that starts at the top with the gradient color and ends with the background color. | |
split | A combination of two vertical linear gradients. The top half starts with the gradient color and the bottom half starts with the background color. | |
center | A combination of two vertical linear gradients. The top starts with the background color and progresses downward to end with the gradient color in the middle. The bottom starts with the background color and progresses upward to end with the gradient color in the middle. |