[PyQt] Resizing of layout on runtime

mezgani ali handrix at gmail.com
Fri Oct 15 21:41:48 BST 2010


I had the same problem, but i think that the Qt creator do that
automatically, and reasonably in some ways.

Best Regards,

On Fri, Oct 15, 2010 at 8:34 PM, Andrew Matsusaka <
andrew.matsusaka at primefocusworld.com> wrote:

> 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.
>
> 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.
>
> Thanks,
> Andrew Matsusaka
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
Ali MEZGANI
Network Engineering/Security
http://securfox.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101015/d18e43f2/attachment-0001.html>


More information about the PyQt mailing list