sargon / trayer-srg

trayer fork with multi monitor support, cleaned up codebase and other fancy stuff
Other
223 stars 34 forks source link

nm-applet margin to other icons is increasing with each change #45

Open andys8 opened 4 years ago

andys8 commented 4 years ago

I'm experiencing a weird issue. Consistently the icon changes of the networkmanager icon (nm-applet) lead to an increase in size. This seems not to be the case with stalonetray. It might be related to gtk themes. At first glance it looks like a glitch in the width calculation of trayer. I haven't found a way to avoid this behavior by changing the arguments of trayer (played a lot with sizes etc.) or switching the icon theme.

After start

image

After some changes of the icon

E.g. due to changing the connected network. image

Info

Version: 1.1.8

Command:

trayer \
   --align center \
   --alpha 0 \
   --distance 2 \
   --edge bottom \
   --height 18 \
   --heighttype pixel \
   --iconspacing 6 \
   --monitor primary \
   --tint 0x44475a \
   --transparent true \
   --widthtype request &