Instance Method

setValidateSize:

Specifies whether the receiver's size information is validated.

Declaration

- (void)setValidateSize:(BOOL)flag;

Parameters

flag

YES to assume that the size information in the receiver is correct. If flag is NO, the NSControl method calcSize will be invoked before any further drawing is done.

See Also

Resizing the Matrix and Its Cells

autosizesCells

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

- sizeToCells

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