Instance Property

controlSize

The size of the cell.

Declaration

@property NSControlSize controlSize;

Discussion

Use this property to change the rendered size of the cell and its control. For a list of possible values, see NSControlSize.

Changing the cell’s control size does not change the font used by the cell. Use the systemFontSizeForControlSize: class method of NSFont to obtain an appropriate font based on the new control size.

See Also

Determining Cell Size

- calcDrawInfo:

Recalculates the cell geometry.

cellSize

The minimum size needed to display the cell.

- 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.