Padding and margin properties
Padding and margin properties support the addition of space on all sides of a gadget, between a title and the plot, and between a data value and the plot. Compare the sparkline gadgets in
Figure 14‑20 and
Figure 14‑23. The gadget in
Figure 14‑20 uses default values for all the padding and margin properties.
Figure 14‑20 Format Gadget displaying a sparkline gadget and its default padding and margin property settings
The gadget in
Figure 14‑21 uses the margin and padding properties to add extra space between the elements in the gadget.
Figure 14‑21 Format Gadget displaying a sparkline gadget that uses padding and margin properties to add extra space between elements
Table 14‑14 shows the padding and margin properties.
Table 14‑14 Padding and margin properties
Property | Gadget | Usage |
Padding Title | Sparkline, bullet | Adds space, in pixels, between the title and the element next to it |
Padding Value | All | Adds space, in pixels, between the data value and the element next to it |
Margins Left, Right, Top, Bottom | All | Adds space, in pixels, around the entire gadget on the left, right, top and bottom sides |