---
title: defaultHigh
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nslayoutconstraint/priority-swift.struct/defaulthigh
---

# defaultHigh

Priority level with which a button resists compressing its content.

## Declaration

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

## Discussion

Discussion Note that the level is higher than windowSizeStayPut. This means dragging to resize a window will not make buttons clip, rather the window frame is constrained.

## See Also

### Constants

- [required](appkit/nslayoutconstraint/priority-swift.struct/required.md)
- [dragThatCanResizeWindow](appkit/nslayoutconstraint/priority-swift.struct/dragthatcanresizewindow.md)
- [windowSizeStayPut](appkit/nslayoutconstraint/priority-swift.struct/windowsizestayput.md)
- [dragThatCannotResizeWindow](appkit/nslayoutconstraint/priority-swift.struct/dragthatcannotresizewindow.md)
- [defaultLow](appkit/nslayoutconstraint/priority-swift.struct/defaultlow.md)
- [fittingSizeCompression](appkit/nslayoutconstraint/priority-swift.struct/fittingsizecompression.md)
