Keywords: manual

Next: 1.9 AutoLayout flags Up: 1. Renaissance AutoLayout Previous: 1.7 Expanding views over

# 1.8 How expanding flags work

The Renaissance AutoLayout framework makes extensive use of the concept that some views (the ones which are not necessarily able to display all information when they are at their minimum size) benefit from being expanded, while other views (the ones which always display all information when they are at their minimum size) do not benefit from being expanded - actually they are better not expanded since we don't know where to put the additional space :-) and we just make the layout uglier.

Please note that views can benefit from being expandable in one direction, but not in the other one. For example, an editable textfield normally displays a single line of text, so it benefits from being expanded in the horizontal direction, but not in the vertical one.