Each item on the form has an invisible bounding box around it. Bounding boxes include all the elements of the item such as built-in labels and borders.
Bounding boxes are not displayed in the Viewer, but you can view them in the Designer. This box surrounds the item, and determines the space that the item takes up on the form. This bounding box determines how items are positioned.
For example, if you place one item after another, those items are placed so that their bounding boxes are almost touching. If you align one item left-to-right with another, those items are placed so that their bounding boxes are touching.
This can be particularly important when using labels. The text or image a label displays may be smaller than the label's actual size, and without a visible bounding box you might not be able to tell how big the label actually is.
The bounding box is turned on by default. If you'd like to turn the bounding box off, or see where the setting is controlled, use the instructions below.
- Click Window -> Preferences.
- From the left column, expand IBM Forms Designer and Design.
- In the Design preferences, select the Show bounding boxes around items check box.
Bounding box sizes can only be changed for Label
, Radio List
, and Button
in the Standard Library and Slider (Range)
, and Spacer
items in the Advanced Library.
Setting the size of the bounding boxParent topic: Arranging items on a page
The size of the bounding box is done as a feature of the Advanced Designer Perspective. Changing the bounding box size should only be done for specific reasons. Otherwise, use the default provided.