[PyQt] All QGroupBoxs stretchables with a QStackWidget?

alteo_gange romanocaldoni at free.fr
Sat Oct 27 15:18:05 BST 2007


Le vendredi 26 octobre 2007, alteo_gange a écrit :
> Hi!
>
> Why all QGroupBoxs are stretchables when i rise size window in file1.txt
> without QStackWidget and not in file2.txt with QStackWidget?
>
> How have all QGroupBoxs stretchables with QStackWidget?

The line:

"stacked.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding, 
QSizePolicy.Fixed))"

under "stacked=QStackedWidget()"

... in file2.txt is not sufficient.

-- 
alteo_gange




More information about the PyQt mailing list