Instance Property


A Boolean that indicates whether the cell sizes change when the receiver is resized.


@property BOOL autosizesCells;


When the value of this property is YES, whenever the matrix is resized, the sizes of the cells change in proportion, keeping the intercell space constant. This property verifies that the cell sizes and intercell spacing add up to the exact size of the matrix, adjusting the size of the cells and updating the matrix if they don’t. When the value of this property is NO, then the intercell spacing and cell size remain constant.

See Also

Resizing the Matrix and Its Cells

- setValidateSize:

Specifies whether the receiver's size information is validated.

- sizeToCells

Changes the width and the height of the receiver’s frame so it exactly contains the cells.