[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] QSystemTrayIcon scaling issue
From:       Jens Hansen <jens.v.han () gmail ! com>
Date:       2017-08-04 15:33:07
Message-ID: CAFq8YB5w=8MsKExL4kzyWMt6JhzR2Rbv_Q4dkt5QrumvvN2H+Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div>Hey,<br><br></div>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?<br><br></div><div>PyQt4 btw<br><br></div>Regards \
<br></div>Jens<br></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic