<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/autorecalculatesContentBorderThickness(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindow(im)autorecalculatesContentBorderThicknessForEdge:"
  },
  "title" : "autorecalculatesContentBorderThickness(for:)"
}
-->

# autorecalculatesContentBorderThickness(for:)

Indicates whether the window calculates the thickness of a given border automatically.

```
func autorecalculatesContentBorderThickness(for edge: NSRectEdge) -> Bool
```

## Parameters

`edge`

The border to check:

- `NSMaxYEdge`: Top border.
- `NSMinYEdge`: Bottom border.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> when the window auto-recalculates the given border’s thickness; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

---

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)