Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the system tray icon size for retina display?

I've created a Qt5 app using PyQt5, now I am adapting images to be compatible with Retina Display on OS X. I've creating duplicates of them with the @2x modificator, but the fact is that I've not been able to make the tray icon to look correctly, I think it is because I am using the image in the wrong size. Does anybody have any idea?

Blurry icon

like image 227
k-ter Avatar asked Nov 11 '22 06:11

k-ter


1 Answers

I don't know if this works with Qt, but you can use a combined file with Xcode.

Within Terminal, you can combine both icons by executing this command:

tiffutil -cathidpicheck tray_icon.png [email protected] -out tray_icon.tiff
like image 152
Baris Atamer Avatar answered Nov 15 '22 12:11

Baris Atamer