diff --git a/Kit/helpers.swift b/Kit/helpers.swift index b5c0fd4c..0aa29e47 100644 --- a/Kit/helpers.swift +++ b/Kit/helpers.swift @@ -342,7 +342,7 @@ public func separatorView(_ title: String, origin: NSPoint = NSPoint(x: 0, y: 0) public func popupRow(_ view: NSView, title: String, value: String) -> (LabelField, ValueField, NSView) { let rowView: NSView = NSView(frame: NSRect(x: 0, y: 0, width: view.frame.width, height: 22)) - let labelWidth = title.widthOfString(usingFont: .systemFont(ofSize: 13, weight: .regular)) + 4 + let labelWidth = title.widthOfString(usingFont: .systemFont(ofSize: 12, weight: .regular)) + 4 let labelView: LabelField = LabelField(frame: NSRect(x: 0, y: (22-16)/2, width: labelWidth, height: 16), title) let valueView: ValueField = ValueField(frame: NSRect(x: labelWidth, y: (22-16)/2, width: rowView.frame.width - labelWidth, height: 16), value)