I've got no notice of a directly manipulated (using mouse dragging) column width concerning QLayout's.. You could however do this programmatically by coupling some other numerical input widget (QSpinBox) to the columnWidth setter of your QLayout.<div>

<br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 16:27, dizou <span dir="ltr"><<a href="mailto:di_zou@yahoo.com">di_zou@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
I have a widget with a a layout and some widgets:<br>
<br>
class MainWidget(QWidget):<br>
    def __init__(self, parent):<br>
<br>
        QWidget.__init__(self, parent)<br>
<br>
        gridLayout = QGridLayout()<br>
        gridLayout.addLayout(treeControlLayout, 0, 0)<br>
        gridLayout.addWidget(self.tree, 1, 0)<br>
        gridLayout.addLayout(viewControlLayout, 0, 1)<br>
        gridLayout.addWidget(self.view, 1, 1)<br>
        gridLayout.addLayout(viewInfoLayout, 1, 2)<br>
        gridLayout.addLayout(viewControlLayoutBottom, 2, 1)<br>
<br>
        self.setLayout(gridLayout)<br>
<br>
This widget has 3 columns. How do I make it so that the user can adjust the<br>
width of the column?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/adjusting-layouts-question-tp30200354p30200354.html" target="_blank">http://old.nabble.com/adjusting-layouts-question-tp30200354p30200354.html</a><br>
Sent from the PyQt mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">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>Nick Gaens<br>
</div>