Instance Method

columnWidthForColumnContentWidth:

Returns the column width for the width of the given column’s content.

Declaration

- (CGFloat)columnWidthForColumnContentWidth:(CGFloat)columnContentWidth;

Parameters

columnContentWidth

The width of the column's content (the width of the matrix in the column).

Return Value

The width of the column (the width of the entire scrolling text view).

Discussion

For example, to guarantee that 16 pixels of your browser cell are always visible, call:

[browser setMinColumnWidth: [browser columnWidthForColumnContentWidth:16]]

See Also

Sizing

+ removeSavedColumnsWithAutosaveName:

Removes the column configuration data stored under the given name from the application’s user defaults.

columnsAutosaveName

The name used to automatically save the browser’s column configuration.

- columnContentWidthForColumnWidth:

Returns the content width for a given column width.

columnResizingType

A constant indicating the browser’s column resizing type.

prefersAllColumnUserResizing

A Boolean that indicates whether the browser is set to resize all columns simultaneously rather than resizing a single column at a time.

- widthOfColumn:

Returns the width of the specified column.

- setWidth:ofColumn:

Sets the width of the specified column.

- defaultColumnWidth

Returns the default column width of the browser’s columns.

- setDefaultColumnWidth:

Sets the default column width for new browser columns that do not otherwise have an initial width from defaults or the browser’s delegate.

rowHeight

The height of the browser’s rows.