<div dir="ltr">I had the same problem, but i think that the Qt creator do that automatically, and reasonably in some ways.<br><br>Best Regards,<br><div class="gmail_quote"><br>On Fri, Oct 15, 2010 at 8:34 PM, Andrew Matsusaka <span dir="ltr"><<a href="mailto:andrew.matsusaka@primefocusworld.com">andrew.matsusaka@primefocusworld.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've created a custom widget that contains quite a few QLabels and QTextEdits. I'm connecting to a MySQL database and retrieving a certain number of items that I want to display through these custom widgets by creating a widget for each item. I would like these items to be in a vertical layout but I'm having trouble resizing the layout to fit any number of these widgets.<br>
<br>
Basically, what I'm wondering is if there's a way to resize a QLayout (or any other type of container that would work) based on the widgets it contains.<br>
<br>
Thanks,<br><font color="#888888">
Andrew Matsusaka<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Ali MEZGANI<br>Network Engineering/Security <br><a href="http://securfox.wordpress.com/">http://securfox.wordpress.com/</a><br>
</div>