Mozzarino Posted August 24, 2020 Share Posted August 24, 2020 (edited) I created a widget in qtdesigner following this tutorial: https://github.com/kiryha/Houdini/wiki/python-for-artists . So far I've tried all layout constraints and align methods within qtdesigner but houdini doesn't recognize them. This results in a window that looks like intended but doesn't resize... Any one knows how to solve this? Edited August 24, 2020 by diogomgf Quote Link to comment Share on other sites More sharing options...
toadstorm Posted August 24, 2020 Share Posted August 24, 2020 I don't know anything about that tutorial, but the parent widget, whatever it is, needs to be enclosed in some kind of QLayout (QHBoxLayout, QVBoxLayout, etc) if you want it to automatically stretch to fit the parent container. You'll have better luck with Qt stuff in general if you give up on QDesigner and just start coding your interfaces by hand. It takes a bit of practice but QDesigner is really a bit of a crutch. 2 Quote Link to comment Share on other sites More sharing options...
Mozzarino Posted August 25, 2020 Author Share Posted August 25, 2020 I'll follow that advice. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.