[PyQt] Limit the height of a Layout

dcassidy36 at mass.rr.com dcassidy36 at mass.rr.com
Wed Mar 3 01:37:44 GMT 2010


Are you using QtDesigner? You can set the min and max size for each widget, so I'd probably look at that.
--
Regards,
 -Demetrius Cassidy

---- starglider develop <starglider.dev at gmail.com> wrote: 

=============
Hello,
I'm a newby and I have a question:
how can I limit the height of a QHBoxLayout?
e.g.:
There is a  central widget with a QHBoxLayout that as two QTableWidget and I
want to limit the size of the first QTableWidget to 300 points,
but let the second QTableWidget grow until the limit of the screen.

Thank you in advance for your help.



More information about the PyQt mailing list