Hello,
I have two controls, one a QTreeWidget and another a QStackedDialog.

When I add these to a QSplitter and I attempt to drag the splitter, it flashes, but goes back to the original size. If I drag it far enough, the whole screen is replaced either by the left side or the right side, but I can't get it to stretch. I'm adding QGroupBoxes to the splitter, could that be my problem?

- BRC

Here's my code snippet:

QSplitter *splitter = new QSplitter(this);
splitter->addWidget(m_pNavGroupBox); // QGroupBox
splitter->addWidget(m_pDataGroupBox); // QGroupBox
splitter->setStretchFactor(0, 10);
splitter->setStretchFactor(1, 10);

QVBoxLayout *pMainLayout = new QVBoxLayout();
pMainLayout->addWidget(m_pTitleImageLabel, 3, Qt::AlignCenter); // label -
pMainLayout->addWidget(splitter);

setLayout(pMainLayout); // for main window