For tables, layouts can be more complex and certain rules apply.
A table itself can be set to manual, stretch or shrink size. However, the size of the table depends on the size of its cells and vice versa.
- If a table should stretch to the available space, at least one cell also has to stretch.
- If a table should be manually resizable, at least one cell also has to stretch.
- If all cells are set to shrink or manual, the table itself is not resizable. Its size is then defined by the size of its cells.
This example shows the different modes for individual cells.
If multiple elements are nested in a flow layout and set to stretch, the available space is distributed equally between those elements. If multiple cells in a table row or column are set to stretch, a percent value can be specified for each cell. The total always has to be 100%, so if cell A is 10%, cell B has to be 90%. ANTETYPE automatically calculates the other values if one value is changed by the user.
The percentage value is entered in the entry field, the actual size in pixels is shown read-only behind the entry field.