<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCell/controlSize",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCell(py)controlSize"
  },
  "title" : "controlSize"
}
-->

# controlSize

The size of the cell.

```
var controlSize: NSControl.ControlSize { get set }
```

## Discussion

Use this property to change the rendered size of the cell and its control. For a list of possible values, see [`NSControl.ControlSize`](/documentation/AppKit/NSControl/ControlSize-swift.enum).

Changing the cell’s control size does not change the font used by the cell. Use the [`systemFontSize(for:)`](/documentation/AppKit/NSFont/systemFontSize(for:)) class method of [`NSFont`](/documentation/AppKit/NSFont) to obtain an appropriate font based on the new control size.

---

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)