An instance of this resource type encapsulates a panel with a
specialized layout manager to implement a grid-like layout based on a
characteristic dimension DIA
in pixels. This panel and
its layout manager implement the following rules:
-
The preferred width of the panel is
SIZE[0]*DIA
pixels, and its preferred height isSIZE[1]*DIA
pixels. -
If the
DIA
input of the resource is configured to a positive non-zero value, this value will override the value of anyDIA
input declared asUINT
in any component function block contained in the resource. -
The background color of the panel is given by the
BKGD
input, and does not override the default or configured background color of a component function block. -
If the value of the
VERTICAL
input isFALSE(0)
, components "flow" first to the upper left corner and are then aligned one to the right of the other until a component no longer fits in the row. At this point the next component "flows" to the left of the next row, whose bottom margin is defined as the bottom edge of the highest component in the previous row. -
If the value of the
VERTICAL
input isTRUE(1)
, components "flow" first to the upper left corner and are then aligned one beneath the other until a component no longer fits in the column. At this point the next component "flows" to the top of the next column, whose left margin is defined as the right edge of the widest component in the previous column.
See the DRILL_VIEWL
system configuration for an example of the use of instances of this
type.