Resizing margins, borders, and padding of elements
As in CSS, BIRT Report Designer provides three properties to define the horizontal and vertical space between elements:
*Border is a visible or invisible line around the element.
*Padding is the space between the content of an element and the border.
*Margin is the space between the border and other elements.
Figure 8‑39 shows how margins, borders, and padding work together.
Figure 6-17 Properties that define the space between elementsFigure 6-17 Properties that define the space between elements
Figure 8‑39 Properties that define the space between elements
You can use the padding and margin properties of an element to adjust the horizontal and vertical spacing of content in a report. Figure 8‑40 shows how to set a label element’s Padding Bottom property to increase the spacing between the report title and the table below it.
Figure 8‑40 Use the Padding Bottom property to specify the spacing below an element
Figure 8‑41 shows the report output. You can get the same result by increasing the table’s Margin Top property.
Figure 8‑41 Report output showing the result of the Padding Bottom setting