The flex layout can be used with the <tc:flexLayout/>
tag.
The two most important attributes are columns
and rows
.
If both attributes are set, only rows
has an effect.
If no attributes set, the behavior of the flex layout is like a flow layout.
In this example, the columns
attribute is set to '200px;auto;1*;2*;1*'.
This means:
The rows
attribute is set to '100px;auto;1*;2*;1*'. Also, the height of the flex layout is '400px'.
This means:
You can also put a flex layout within a flex layout. In this case the second row is another flex layout.