[PyQt] QSystemTrayIcon scaling issue

Jens Hansen jens.v.han at gmail.com
Fri Aug 4 16:33:07 BST 2017


Hey,

I am developing an system tray app for centos 6 and gnome 2.28 where I
update the icon indicating how many unread messages (this works fine). But
in gnome the user is able to resize the panel bar (system bar) where all
the system icons e.g. volume scales nicely in a 1x1 ratio. The problem
comes along where QSystemTrayIcon only scales vertically holding a fixed
width. Does anyone know how I can set sizeHint or something similar to
scale the widget in a 1x1 ratio?

PyQt4 btw

Regards
Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170804/42b02e4a/attachment.html>


More information about the PyQt mailing list