[PyQt] How to resize a DockWidget
Marc Nations
mnations.lists at gmail.com
Mon Jan 19 17:48:49 GMT 2009
Hi,
I'm trying to resize a DockWidget after the application has started. I have
tried all of the functions that I thought would resize it:
self.ui.dockWidget.setGeometry(x,y,w,h)
self.ui.dockWidget.resize(w,h)
I tried with QSize and QGeometry as well. I also tried using the
adjustSize() and a couple of others to see if it changed. I tried to call
show() after to see if it would help, but nothing seems to work.
It flickers momentarily at the new size and pops back. Am I missing a step,
or is there another you're supposed to resize a DockWidget?
Thanks,
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090119/4b8b758f/attachment.html
More information about the PyQt
mailing list