---
title: contentMinSize
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/contentminsize
---

# contentMinSize

The minimum size of the window’s content view in the window’s base coordinate system.

## Declaration

```swift
var contentMinSize: NSSize { get set }
```

## Discussion

Discussion The minimum size constraint is enforced for resizing by the user as well as for the setContentSize(_:) method and the setFrame... methods other than setFrame(_:display:) and setFrame(_:display:animate:). This method takes precedence over the minSize property.

## See Also

### Sizing Content

- [contentAspectRatio](appkit/nswindow/contentaspectratio.md)
- [setContentSize(_:)](appkit/nswindow/setcontentsize(_:).md)
- [contentMaxSize](appkit/nswindow/contentmaxsize.md)
- [contentResizeIncrements](appkit/nswindow/contentresizeincrements.md)
- [contentLayoutGuide](appkit/nswindow/contentlayoutguide.md)
- [contentLayoutRect](appkit/nswindow/contentlayoutrect.md)
- [maxFullScreenContentSize](appkit/nswindow/maxfullscreencontentsize.md)
- [minFullScreenContentSize](appkit/nswindow/minfullscreencontentsize.md)
