What the building process checks
- The properties of the elements. Any properties of an element and its search constraints may link only to elements which are located above this element in the FlexiLayout tree. Any element that does not meet this requirement will be highlighted as faulty.
- The properties of the blocks. Blocks may not refer to non-existent or disabled elements.
- The expressions written in the FlexiLayout language (Advanced tab).
- The code of the expressions must have no syntax errors.
- Additional constraints set on the Advanced tab in the Advanced pre-search relations field must refer only to elements located above the given element in the FlexiLayout tree. Additional constraints set on the Advanced tab in the Advanced post-search relations field must refer only to the element itself and to elements located above the given element in the FlexiLayout tree. Any element that does not meet this requirement will be highlighted as faulty.
- All the global constants used in the code must be specified.
- All the variables used in the code must be declared and initialized.
- The code may refer only to entities available in the corresponding sections of the code.
- The properties of blocks may refer only to the regions of elements.
- For an element of a particular type, you can specify only properties available for this type. For example, you cannot specify Max width for a Static Text element.
Build a FlexiLayout
To build a FlexiLayout, click Build FlexiLayout on the shortcut menu of the FlexiLayout.Errors and warnings
A FlexiLayout is built automatically before it is applied to an image, saved, or exported. If errors are detected when building a FlexiLayout, the blocks and elements with errors will have icons with red Xs next to them in the FlexiLayout tree, and the Errors tab containing error information will appear in the properties dialog boxes of the elements with errors.
