[PyQt] Preview does not resize layouts

Rich Shepard rshepard at appl-ecosys.com
Sat Jan 14 23:26:39 GMT 2017


   Using preview on the UI I change the size of the view window but the main
frame, tabbed widget, and all contained widgets and layouts do not expand or
contract from the default 800x600 size.

   I've searched Mark Summerfield's book for 'resize window' and 'dynamic
resizing' unsuccessfully. My web searches and reading of the Qt tutorial
also find nothing relevant. While I've used box, form, and grid layouts the
behavior is that of widgets placed with absolute positioning rather than
relevant positioning. Please point me to a doc that teaches me how to fix
this situation and avoid it in the future.

Rich



More information about the PyQt mailing list