---
title: edgeInsets
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsstackview/edgeinsets
---

# edgeInsets

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

## Declaration

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

## Discussion

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 property or the value of its inherited userInterfaceLayoutDirection property.

## See Also

### Configuring the Stack View Layout

- [orientation](appkit/nsstackview/orientation.md)
- [NSUserInterfaceLayoutOrientation](appkit/nsuserinterfacelayoutorientation.md)
- [alignment](appkit/nsstackview/alignment.md)
- [spacing](appkit/nsstackview/spacing.md)
- [useDefaultSpacing](appkit/nsstackview/usedefaultspacing.md)
- [hasEqualSpacing](appkit/nsstackview/hasequalspacing.md)
- [distribution](appkit/nsstackview/distribution-swift.property.md)
- [NSStackView.Distribution](appkit/nsstackview/distribution-swift.enum.md)
