Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSX] Icon Issue #64

Closed
drpoutine opened this issue Mar 31, 2015 · 1 comment
Closed

[OSX] Icon Issue #64

drpoutine opened this issue Mar 31, 2015 · 1 comment

Comments

@drpoutine
Copy link

Icon too big on task bar with the x64 OS X version. Le minor bug 👍
Retina (2880x1800 res) screen macbook pro ›
screen shot 2015-03-31 at 4 54 33 pm

this second isn't so bad thou. its a bit big but meh. task bar on the other hand is too blurry 😊
screen shot 2015-03-31 at 4 54 42 pm

@bastimeyer
Copy link
Member

2880x1800

Could you please tell me the value of window.devicePixelRatio? (paste this into the dev console of NW.js or your browser)
It actually should use a higher icon resolution if your OS is scaling up the UI (see here).
The sad thing is, that there's no official guide for creating menubar icons on OSX, so it could be possible that the icons are simply wrong. Back then, when I added the tray icons (colored menubar icons on OSX), a question on stackoverflow.org suggested using 16x16, 32x32 and 48x48 sizes, but I guess this doesn't work well on OSX while using UI scaling (on other platforms it does).

Icon too big on task bar

I know, the taskbar icon on windows is also a little bit too big, but it's fine for most icon sets on linux. Let me see what I can do.

bastimeyer added a commit that referenced this issue Mar 31, 2015
Also add a higher resolution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants