---
title: "columnContentWidth(forColumnWidth:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsbrowser/columncontentwidth(forcolumnwidth:)"
---

# columnContentWidth(forColumnWidth:)

Returns the content width for a given column width.

## Declaration

```swift
func columnContentWidth(forColumnWidth columnWidth: CGFloat) -> CGFloat
```

## Parameters

- `columnWidth`: The width of the column. This width is the entire scrolling text view.

## Return Value

Return Value The width of the content for the column. This is the width of the matrix in the column.

## See Also

### Sizing

- [removeSavedColumns(withAutosaveName:)](appkit/nsbrowser/removesavedcolumns(withautosavename:).md)
- [columnsAutosaveName](appkit/nsbrowser/columnsautosavename-swift.property.md)
- [NSBrowser.ColumnsAutosaveName](appkit/nsbrowser/columnsautosavename-swift.typealias.md)
- [columnWidth(forColumnContentWidth:)](appkit/nsbrowser/columnwidth(forcolumncontentwidth:).md)
- [columnResizingType](appkit/nsbrowser/columnresizingtype-swift.property.md)
- [prefersAllColumnUserResizing](appkit/nsbrowser/prefersallcolumnuserresizing.md)
- [width(ofColumn:)](appkit/nsbrowser/width(ofcolumn:).md)
- [setWidth(_:ofColumn:)](appkit/nsbrowser/setwidth(_:ofcolumn:).md)
- [defaultColumnWidth()](appkit/nsbrowser/defaultcolumnwidth().md)
- [setDefaultColumnWidth(_:)](appkit/nsbrowser/setdefaultcolumnwidth(_:).md)
- [rowHeight](appkit/nsbrowser/rowheight.md)
