Make menu bar item font monospaced.

This commit is contained in:
2025-09-16 20:41:24 -07:00
parent eb26d9e90f
commit 6465b96e64

View File

@@ -44,10 +44,10 @@ final class CBMenuBarItem: NSObject, NSWindowDelegate {
.statusItem(withLength: NSStatusItem.variableLength)
self.statusItem.isVisible = true
self.panel = PopoverPanel(viewController: CmdViewController())
// self.statusItem.button?.font = NSFont
// .monospacedSystemFont(ofSize: NSFontDescriptor
// .preferredFontDescriptor(forTextStyle: .body).pointSize,
// weight: .regular)
self.statusItem.button?.font = NSFont
.monospacedSystemFont(ofSize: NSFontDescriptor
.preferredFontDescriptor(forTextStyle: .body).pointSize,
weight: .regular)
super.init()