[wxGTK] task bar icon size
roee shlomo
roee88 at gmail.com
Mon Oct 1 10:29:28 PDT 2007
Hi all,
I'm testing my application on Ubuntu Feisty and I have a problem with the
icon size in wx.TaskBarIcon.
I have an instance of wx.Icon which I use as both application icon, and as
the first parameter for wx.TaskBarIcon.SetIcon.
I have tried:
1. wx.Icon(iconPath, wx.BITMAP_TYPE_ICO) where iconPath points to windows
.ico file with support for 16x16, 32x32, 48x48.
2. wx.Icon(iconPath, wx.BITMAP_TYPE_PNG) where iconPath points to .png file
with size of 48x48.
As application icon, it works great (icon size changes to the appropriate
size).
As tray icon it ALWAYS uses 48x48 (on windows it works well).
I know I can create a small 16x16 png icon just for the system tray, but I
saw many apps using a 48x48 png file and their task bar icon looks great.
Would appreciate any hint :)
Thanks,
Roee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200710=
01/c0d8c8a8/attachment.htm
More information about the wxpython-users
mailing list