<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSStackView/edgeInsets",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSStackView(py)edgeInsets"
  },
  "title" : "edgeInsets"
}
-->

# edgeInsets

The geometric padding, in points, inside the stack view, surrounding its views.

```
var edgeInsets: NSEdgeInsets { get set }
```

## Discussion

The default value is `(0, 0, 0, 0)`. Edge insets remain as they are if you change the value of a stack view’s [`orientation`](/documentation/AppKit/NSStackView/orientation) property or the value of its inherited [`userInterfaceLayoutDirection`](/documentation/AppKit/NSView/userInterfaceLayoutDirection) property.

---

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)