cocoa: fix line height in `list-box%'

Closes PR 11822
This commit is contained in:
Matthew Flatt 2011-03-27 10:23:34 -06:00
parent 84d8bb3726
commit deab2ddede

View File

@ -162,6 +162,10 @@
(def/public-unimplemented get-label-font)
(define cell-font (and font (font->NSFont font)))
(when cell-font
(tellv content-cocoa setRowHeight: #:type _CGFloat
(+ (tell #:type _CGFloat cell-font defaultLineHeightForFont) 2)))
(define/public (get-cell-font)
cell-font)