---
title: minContentSize
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscolorpicker/mincontentsize
---

# minContentSize

The minimum content size.

## Declaration

```swift
var minContentSize: NSSize { get }
```

## Discussion

Discussion The containing NSColorPanel object does not allow the color picker to be made smaller than this size. Override this property’s getter method to return a minimum size for the color picker’s content area. The default implementation obtains the minimum content size from the view-autoresizing behavior specified for the color picker. You should not have to override this method if you properly set up the color picker’s auto-sizing attributes in Interface Builder.

## See Also

### Customizing the Color Picker

- [buttonToolTip](appkit/nscolorpicker/buttontooltip.md)
