What the building process checks
FlexiLayout building validates the element properties, the block properties, and the expressions written in the FlexiLayout language.Element properties
The properties of an element and its search constraints can link only to elements located above this element in the FlexiLayout tree. FlexiLayout Studio highlights any element that does not meet this requirement as faulty.Block properties
Blocks cannot refer to non-existent or disabled elements.FlexiLayout language expressions
On the Advanced tab, the build checks that:- The code has no syntax errors.
- Additional constraints in the Advanced pre-search relations field refer only to elements located above the given element in the FlexiLayout tree.
- Additional constraints in the Advanced post-search relations field refer only to the element itself and to elements located above the given element in the FlexiLayout tree. FlexiLayout Studio highlights any element that breaks these two rules as faulty.
- All global constants used in the code are specified.
- All variables used in the code are declared and initialized.
- The code refers only to entities available in the corresponding sections of the code.
- Block properties refer only to the regions of elements.
- For an element of a particular type, you can specify only the properties available for that type. For example, you cannot specify Max width for a Static Text element.
Build a FlexiLayout manually
Click Build FlexiLayout on the FlexiLayout’s shortcut menu.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.
