ENH: Better looking status bar icon

This commit is contained in:
Etienne Roesch 2025-04-16 17:00:18 +01:00
parent 1a40bf1065
commit bcd9af6e8c
5 changed files with 24 additions and 1 deletions

View file

@ -93,7 +93,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
if let button = statusBarItem.button {
//button.title = "MSG"
button.toolTip = "MSG App"
if let image = NSImage(named: "AppIcon") {
if let image = NSImage(named: "AppStatusBar") {
let newSize = NSSize(width: 18, height: 18)
image.size = newSize
image.isTemplate = true // Important: so it adapts to dark/light mode but we need to get B&W icons..