Aaah, thanks!
I looked at the docs for QLayout and QHBoxLayout, but not QBoxLayout :-D
On 4/04/17 7:15 PM, Florian Bruhin wrote:
On Tue, Apr 04, 2017 at 07:13:44PM +1200, Frank Rueter | OHUfx wrote:
Hi,
I just saw some example code like this:
topLayout = QHBoxLayout()
topLayout.addWidget(self.pathLabel, 1)
What does the second argument to? It doesn't seem to be documented anywhere.
It's documented in Qt's docs:
http://doc.qt.io/qt-4.8/qboxlayout.html#addWidget
Florian
_______________________________________________
PySide mailing list
PySide@qt-project.org
http://lists.qt-project.org/mailman/listinfo/pyside