Make menu bar item font monospaced.
This commit is contained in:
@@ -44,10 +44,10 @@ final class CBMenuBarItem: NSObject, NSWindowDelegate {
|
|||||||
.statusItem(withLength: NSStatusItem.variableLength)
|
.statusItem(withLength: NSStatusItem.variableLength)
|
||||||
self.statusItem.isVisible = true
|
self.statusItem.isVisible = true
|
||||||
self.panel = PopoverPanel(viewController: CmdViewController())
|
self.panel = PopoverPanel(viewController: CmdViewController())
|
||||||
// self.statusItem.button?.font = NSFont
|
self.statusItem.button?.font = NSFont
|
||||||
// .monospacedSystemFont(ofSize: NSFontDescriptor
|
.monospacedSystemFont(ofSize: NSFontDescriptor
|
||||||
// .preferredFontDescriptor(forTextStyle: .body).pointSize,
|
.preferredFontDescriptor(forTextStyle: .body).pointSize,
|
||||||
// weight: .regular)
|
weight: .regular)
|
||||||
|
|
||||||
super.init()
|
super.init()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user