Setting QWidget size

Rich Shepard rshepard at appl-ecosys.com
Thu Apr 22 22:47:56 BST 2021


On Thu, 22 Apr 2021, Rodrigo de Salvo Braz wrote:

> PS: I thought you wanted just the container to show completely. If you
> want the window to really have a fixed size, you can use
> self.setFixedSize(800, 600)

Rodrigo,

That's one of the things I'm slowly learning. Yes, the application main
window should be 800x600 and the content of each tab in the main windows'
container (a QTabWidget) should fill it.

During development I want to see each tab's content so I can tweak it for
appearance and positioning.

Thanks again,

Rich


More information about the PyQt mailing list