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

# knobProportion

The proportion of the knob slot that the knob should fill.

```
var knobProportion: CGFloat { get set }
```

## Discussion

This property contains a floating-point value from 0.0 (minimal size) to 1.0 (fills the slot).

---

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)