Instance Property

cellSize

The minimum size needed to display the cell.

Declaration

@property(readonly) NSSize cellSize;

Discussion

This property contains the smallest cell size (in points) required to draw its contents. If the cell is not a text or image cell, the cell size is set to (10000, 10000). If an image cell does not yet have an associated image, the cell size is NSZeroSize.This method takes into account of the size of the image or text in the cell along with any margin areas required by the cell’s border, if any.

See Also

Determining Cell Size

- calcDrawInfo:

Recalculates the cell geometry.

- cellSizeForBounds:

Returns the minimum size needed to display the receiver, constraining it to the specified rectangle.

- drawingRectForBounds:

Returns the rectangle within which the receiver draws itself

- imageRectForBounds:

Returns the rectangle in which the receiver draws its image.

- titleRectForBounds:

Returns the rectangle in which the receiver draws its title text.

controlSize

The size of the cell.