Hello,
Marc Nations wrote:
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, so it looks
like it's being properly resizes and then something resets it back to
the original size. Is this the correct way to resize the dock widget,
and what is causing it to immediately change again?
Perhaps this is a silly question, but is it floating or is it docked?
If it's docked then it's going to take the shape of the space in which
it is docked. If it is docked, I am wondering why you're trying to
change it's shape.
Darryl
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt