Show TOC

 Layout Optimization for FlowLayout and MatrixLayoutLocate this document in the navigation structure

Layout Optimization for FlowLayout and One-Line MatrixLayout

If single elements are set to invisible in a layout, whether by the application or through personalization, the spaces between remaining fields should also be adjusted.

Invisible elements do not create any padding.

There is an automatic layout optimization for the vGutters of FlowLayouts and for one-line MatrixLayouts, that is, MatrixLayouts for which only MatrixHeadData is defined.

  • Preservation of the horizontal indentation of the layout:

    For this reason the first visible element is always assigned the vGutter of the first element. All other vGutters are ignored.

  • Preservation of the grouping of elements:
    • If several elements within the layout are hidden, the first visible element that follows them receives the largest vGutter of all the hidden elements, or its own vGutter if this is larger.
    • If there are invisible elements at the end of the layout, the vGutters of these elements are ignored.
      Note

      The "largest" vGutter is the one with the widest indentation. If one of the vGutters has a separator bar, this stays at it is.

Layout Optimization for Multiline MatrixLayouts:

If all elements of a MatrixLayout are set to invisible, the entire line is not displayed. This means no paddings or vGutters are displayed either.

Otherwise, for invisible elements padding is set to lrNoPad, but their vGutters remain.