Hi,
I have been trying to figure out how to get a widget to resize automatically when the window is resized, but I can't figure out how. To make it a bit more complicated I am using a Phonon VideoWidget.

So I add a vertical layout in QT Designer and from code

Phonon::VideoWidget* vw = new Phonon::VideoWidget(this);
ui->verticalLayout->addWidget(vw);

Now my understanding is that the widget should resize to the size of the layout, but it doesn't seem to.

Thanks
George