Open anandtrex opened 9 years ago
hmm that is weird. Not sure why the icons are squished.
I don't know if this is the correct answer (I've never done Cinnamon applet development) but I was aware that GTK 3 extensions were written in JavaScript so I decided to investigate.
While I don't understand the underlying cause, this is triggered by not explicitly setting the button width. I took a look at specialButtons.js and added the following code after line 60:
this.actor.height = parent._applet._panelHeight - 2;
this.actor.width = parent._applet._panelHeight * 1.25;
The buttons are roughly (very roughly since I only did it by sight) 1.25 times wider than they are tall. After modifying the extension as mentioned, things seem to work out pretty well.
Should I make a pull request?
yeah go ahead and I will take a look. sorry it took 5 months to reply :(.
Also facing this issue with HiDPI. @jake-phy possibly you can take @xcjs solution up?
Ok can you try now? Make sure you use the develop branch.
Using the dev branch, the icons are still appearing as large
See attached image. WindowIconList looks really weird on a HiDPI display (2560x1440 14") compared to the normal window list shown next to it for comparison.