Browse Source

Match System Font.

pull/113/head
Abhishek Banthia 3 years ago
parent
commit
ab9147058e
  1. 5
      Clocker/Preferences/Menu Bar/StatusItemHandler.swift

5
Clocker/Preferences/Menu Bar/StatusItemHandler.swift

@ -366,8 +366,9 @@ class StatusItemHandler: NSObject {
return return
} }
statusItem.button?.title = menubarText let attributes = [NSAttributedString.Key.font: NSFont.monospacedDigitSystemFont(ofSize: 13.0, weight: NSFont.Weight.regular),
statusItem.button?.font = NSFont.monospacedDigitSystemFont(ofSize: 14.0, weight: NSFont.Weight.regular) NSAttributedString.Key.baselineOffset : 0.1] as [NSAttributedString.Key : Any]
statusItem.button?.attributedTitle = NSAttributedString(string: menubarText, attributes: attributes)
statusItem.button?.image = nil statusItem.button?.image = nil
statusItem.button?.imagePosition = .imageLeft statusItem.button?.imagePosition = .imageLeft
} }

Loading…
Cancel
Save