NSStatusItem dial width

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

+4
source share

Source: https://habr.com/ru/post/1619666/


All Articles