mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 15:31:09 +00:00
Tweaks cell height slightly further.
This commit is contained in:
parent
052ab44f1c
commit
6e2c65435a
@ -195,9 +195,9 @@ class MachinePicker: NSObject, NSTableViewDataSource, NSTableViewDelegate {
|
||||
func tableView(_ tableView: NSTableView, heightOfRow row: Int) -> CGFloat {
|
||||
let font = NSFont.systemFont(ofSize: NSFont.systemFontSize)
|
||||
|
||||
// YUCK. TODO: find a way to use larger cells, with vertically-centred text.
|
||||
// YUCK. TODO: find a way to use cells with vertically-centred text.
|
||||
// Likely that means not using NSTextFieldCell.
|
||||
return font.ascender - font.descender + 2.0
|
||||
return font.ascender - font.descender + 2.5
|
||||
}
|
||||
|
||||
// MARK: - Machine builder
|
||||
|
Loading…
x
Reference in New Issue
Block a user