Instance Property

intercellSpacing

The horizontal and vertical spacing between cells.

Declaration

@property NSSize intercellSpacing;

Return Value

The horizontal and vertical spacing between cells.

Discussion

The default spacing is (3.0, 2.0). Changing the value of this property causes the table view to redisplay itself. Negative values are not supported.

Table views normally have a 1 pixel separation between consecutively selected rows or columns. An intercell spacing of (1.0, 1.0) or greater is required if you want this separation. An intercell spacing of (0.0, 0.0) forces there to be no separation between consecutive selections.

See Also

Setting Display Attributes

rowHeight

The height of each row in the table.

backgroundColor

The color used to draw the background of the table.

usesAlternatingRowBackgroundColors

A Boolean value indicating whether the table view uses alternating row colors for its background.

selectionHighlightStyle

The selection highlight style used by the table view to indicate row and column selection.

gridColor

The color used to draw grid lines.

gridStyleMask

The grid lines drawn by the table view.

- indicatorImageInTableColumn:

Returns the indicator image of the specified table column.

- setIndicatorImage:inTableColumn:

Sets the indicator image of the specified column.