<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSLayoutConstraint/Priority-swift.struct/defaultHigh",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSLayoutPriorityDefaultHigh"
  },
  "title" : "defaultHigh"
}
-->

# defaultHigh

Priority level with which a button resists compressing its content.

```
static var defaultHigh: NSLayoutConstraint.Priority { get }
```

## Discussion

Note that the level is higher than [`windowSizeStayPut`](/documentation/AppKit/NSLayoutConstraint/Priority-swift.struct/windowSizeStayPut). This means dragging to resize a window will not make buttons clip, rather the window frame is constrained.

---

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)