python - How to update PyQt4 widget locations based on window size? -


i'm working on developing pyqt4 application require lot of widgets , have run issue. when move widget (such as: btn.move(100, 100) moves properly, if resize window, can't see it). i'm not sure how fix this. don't want restrict resizing of window user, can't have widgets not showing on screen.

so if user resizes program window 600x600, how can have widgets automatically change location?

use qt layout (like qvboxlayout, qhboxlayout, or qgridlayout)


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -