PyQT: shrinked Icons in menubar/QToolbutton

Ingo Linkweiler i.linkweiler at gmx.de
Sat Mar 9 09:17:54 EST 2002


Hi,

i want to load images as icons for a toolbar.
But the loaded images seem to be "shrinked" ~ 30%.
Any ideas how I can avoid this?

self.toolbar=QToolBar(self, "Datei Operationen")
self.tool_open = QToolButton(QPixmap("./icons/runbig.png"),
     'Run it', '',
     self.slotRun,
     self.toolbar, 'run it')






More information about the Python-list mailing list