VBoxLayout help.
Souvik Dutta Chowdhury <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <TY2PR0101MB323224816D687429DE530B7CF2E30@TY2PR0101MB3232.apcprd01.prod.exchangelabs.com> |
I have a vbox layout which is my main layout. I have set a label to be the sole widget in my layout. I have not specified anything else except self.vbox.addWidget(label) The problem is when the window is first run the label appears at the top most corner but then changes position to the middle of the page. The change happens when I try to resize the window. Why is this happening and how to stop it? I even tried using a label.setGeometry(10, 10, 200, 200) The result is still the same. _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt