Next: 1.6 Renaissance AutoLayout support Up: 1. Renaissance AutoLayout Previous: 1.4 Introduction to basic

1.5 The minimum size of a view

Views are rectangular areas in a window; in GNUstep, they are instances of NSView. Normally, a view is used to display some information. Each view has a minimum size which is required in order to display properly. The minimum size could change if the attributes of the view change; but usually it remains the same.

The minimum size is of critical important for an autolayout system, because one of the main issues of the autolayout system is to make sure that all views are given enough space to display themselves properly; that is, that each view has never a size which is smaller than its minimum size.