[PySide] second argument for QLayout.addWidget

Frank Rueter | OHUfx frank at ohufx.com
Tue Apr 4 09:13:44 CEST 2017


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.

Cheers,
frank



More information about the PySide mailing list