Using Fit to Content to dynamically resize panels
The Fit to Content option in panels, when set to True, enables panels to be resized at runtime based on changes to their content. For example, if a panel includes a table to which rows are added, the panel can be enlarged without having a scroll bar added. This feature extends that capability to view fields that contain BMC Remedy AR System forms.
The following figures show a panel in a view field. The following figure shows the appearance of a scroll bar when rows are added.
Panel with scroll bar
The following figure shows the panel after it was resized, which removed the scroll bar.
Panel resized to remove scroll bar
Consider the following points when using the Fit to Content option:
- It includes hidden fields.
- It is available only to collapsible panels.
- It can be used to allocate positive slack.