I'm using Electron and I would like to create a nice tray icon under OS X.
I know how to put an icon on the system's tray, but the problem is when I try with icons I resized (16x16, 20x20, 24x24, 32x32), it appears a black square.
So how to create a nice tray icon from an image please ?
1
votes
1 Answers
-2
votes
There are many websites where you can download good icons for free, which you can use for the tray icon.
Check out https://www.iconfinder.com/
To add your own image, use a png image with transparent background. Resize it using photoshop or any other image tools. Remember to save it as png file. I think the black square is because the image is not in png format or the background is not transparent