<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBrowser/columnContentWidth(forColumnWidth:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBrowser(im)columnContentWidthForColumnWidth:"
  },
  "title" : "columnContentWidth(forColumnWidth:)"
}
-->

# columnContentWidth(forColumnWidth:)

Returns the content width for a given column width.

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

## Parameters

`columnWidth`

The width of the column. This width is the entire scrolling text view.

## Return Value

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)