---
title: automaticallyAdjustsContentInsets
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrollview/automaticallyadjustscontentinsets
---

# automaticallyAdjustsContentInsets

A Boolean that indicates whether the scroll view automatically adjusts its content insets.

## Declaration

```swift
var automaticallyAdjustsContentInsets: Bool { get set }
```

## Discussion

Discussion When the value of this property is true, the scroll view automatically sets its contentInsets property to account for any overlapping title or tool bar. To overlap with the title or tool bar, the window style mask must include NSFullSizeContentViewWindowMask and the title bar must not be transparent. The default value of this property is true.

## See Also

### Managing Insets

- [contentInsets](appkit/nsscrollview/contentinsets.md)
- [scrollerInsets](appkit/nsscrollview/scrollerinsets.md)
