Layout Tab

All Properties views for controls contain a Layout tab, and all Layout tabs contain the same fields. The fields listed in the table Layout Tab appear on the Layout tab for forms and for all panes and controls.

Layout Tab
Property Description
Inherit From Parent Specifies whether the layout properties of the control are inherited. If the Inherit check box is selected, all fields are disabled for editing. Clearing the Inherit field allows you to edit all fields on this tab.
Width Width of the pane or control. The width is that of the content area. For panes, this is the area occupied by child panes and controls; for controls, it is the area occupied by the control body, excluding label and hint areas.
Height Height of the pane or control. The height is that of the content area. For panes, this is the area occupied by child panes and controls; for controls, it is the area occupied by the control body, excluding label and hint areas.
BG Color Background color for the object being configured.
Padding Sets the white-space gap between the outer edge of the object and its inner content. Specified as one to four implied pixel values applied in this order: top, right, bottom, and left. For example, 8 pixels of padding could be specified as 8, or as four space-separated values: 8 8 8 8.
Margin Sets the gap between the object’s border and its parent or sibling objects. Specified as one to four implied pixel values applied in this order: top, right, bottom, and left. For example, 4 pixels for margins could be specified as 4, or as four space-separated values: 4 4 4 4.
Border Sets a border around the object. Possible values are none and line.
Overflow Determines how the control or pane behaves when its content exceeds its dimensions. Possible values are expand, auto, and hidden. These terms are described here:
  • expand   The pane expands to show all of its contents. (Manual values for a pane or control’s width or height that are less than the preferred width or height are ignored when the overflow mode is expand.)
  • auto   The pane uses scroll bars to show any content that cannot fit within the fixed width and height.
  • hidden   Any content that exceeds the prescribed width and height is not be shown.