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

# rowHeight

The height of the browser’s rows.

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

## Discussion

The value of this property must be greater than `0`. The default value of this property is `17.0`. Any fractional value will be forced to an integral value for drawing. For variable row height browsers (ones whose delegates implement [`browser(_:heightOfRow:inColumn:)`](/documentation/AppKit/NSBrowserDelegate/browser(_:heightOfRow:inColumn:))), the row height will be used to draw alternating rows past the last row in each browser column.

This property is only available when using the item delegate methods. An exception is thrown if you are using the matrix delegate methods.

---

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)