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

# windowSizeStayPut

Priority level for the window’s current size.

## Declaration

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

## Discussion

Discussion It’s generally not appropriate to make a constraint at exactly this priority. You want to be higher or lower. Constraints with higher priorities can adjust the window’s size. Constraints with lower priorities must be fulfilled using the current window size.

## See Also

### Constants

- [required](appkit/nslayoutconstraint/priority-swift.struct/required.md)
- [defaultHigh](appkit/nslayoutconstraint/priority-swift.struct/defaulthigh.md)
- [dragThatCanResizeWindow](appkit/nslayoutconstraint/priority-swift.struct/dragthatcanresizewindow.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)
