cocoa: fix line height in `list-box%'
Closes PR 11822
This commit is contained in:
parent
84d8bb3726
commit
deab2ddede
|
@ -162,6 +162,10 @@
|
||||||
(def/public-unimplemented get-label-font)
|
(def/public-unimplemented get-label-font)
|
||||||
|
|
||||||
(define cell-font (and font (font->NSFont 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)
|
(define/public (get-cell-font)
|
||||||
cell-font)
|
cell-font)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user