<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableView/autoresizesAllColumnsToFit",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTableView(im)autoresizesAllColumnsToFit"
  },
  "title" : "autoresizesAllColumnsToFit"
}
-->

# autoresizesAllColumnsToFit

Returns a Boolean value that indicates if the table view proportionally resizes its columns to fit when its superview’s frame changes.

```
- (BOOL) autoresizesAllColumnsToFit;
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the table view proportionally resizes all of its columns to fit when its superview’s frame changes, and <doc://com.apple.documentation/documentation/Swift/false> if it only resizes the last 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)