Im trying to reduce the width that NSStatusItem takes. As you can see, the image setting is not so wide, but the blue area is much wider. How to reduce this?
Im using this code:
let icon = NSImage(named: "smaller.png")
statusItem.button!.image = icon

source
share