columnWidth(forColumnContentWidth:)
Returns the column width for the width of the given column’s content.
Declaration
func columnWidth(forColumnContentWidth columnContentWidth: CGFloat) -> CGFloatParameters
- 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]]