Alexander-Miller / treemacs

GNU General Public License v3.0
2.12k stars 155 forks source link

MacOS: Inconsistent Icon Sizes #1053

Closed zeim839 closed 1 year ago

zeim839 commented 1 year ago

System: GNU Emacs 28.2 (build 1, x86_64-apple-darwin22.5.0, NS appkit-2299.60 Version 13.4 (Build 22F66)) of 2023-07-25

Icon sizes/dimensions are inconsistent, probably because of image dimension differences across icons (i.e some are larger/smaller than others). This causes certain icons to appear over-sized. Haven't tested this on Linux but I'm assuming this is a MacOS-specific issue because I was unable to replicate it on my Windows environment.

treemacs--icon-size and treemacs-resize-icons only seem to affect png files. The screenshots below are with the extra-wide option turned on.

Screenshot 2023-08-17 at 15 41 32

Screenshot 2023-08-17 at 15 41 44

Velnbur commented 1 year ago

Is there any fix to, at least, fix this locally?

Alexander-Miller commented 1 year ago

This might be down to new svg icons I had introduced. They've now been removed due to trouble elsewhere. Does this problem still happen?

zeim839 commented 1 year ago

Does this problem still happen?

Nope, seems to be working now. Thank you!