[dev] [en] Wix tray icon

Goffi goffi at goffi.org
Lun 21 Oct 18:15:02 CEST 2013


Look like something is wrong with your taskbar, are your sure it's not a 
widget size or something similar ?

On my Kde 4.10.x, the icon is sized as expected, and it was the case as 
far as I remember (but I don't use wix actually).

I don't think the issue is coming from wix, but maybe I'm wrong...

On 21/10/2013 17:49, Adrien wrote:
> Hi,
>
> a question regarding wix tray icon : it is not displayed right on my
> system: see screenshot 1.png.
>
> If I add the following on line 87 in sat/frontends/src/wix/main_window.py:
>
>          ticon.SetWidth(32)
>
> I get as result screenshot 2.png.
>
> What's the better way to make the screenshot fit the tray bar? I see no
> other solution then resizing the file itself, but in that case which
> size should be used? Is there a way to retrieve the size of the other
> icons?!
>
> On my machine the tray icons width is 24, what about you?! As a
> temporary solution, even if 24 doesn't fit everybody, it's better then
> 128 :)
>
> PS : I would create new directories for sat_media/icons/crystal: 128,
> 16, 24, 32...
>
> Regards,
> Adrien
>
>
> _______________________________________________
> dev mailing list
> dev at goffi.org
> http://lists.goffi.org/listinfo/dev
>




Plus d'informations sur la liste de diffusion dev