scaling of widgets in verticalLayout
Hello,
i have a QMainWindow with a QVBoxLayout and added QwtPlot and QPlainTextEdit.
at the moment both the QwtPlot and QPlainTextEdit have the same size...
how can i make QwtPlot larger than the QwtPlot?
i tried to play with the stretch factor... but this did not change the layout of the widgets... any idea what im doing wrong?
Code:
ui->verticalLayout->setStretchFactor(ui->plainTextEdit, 1);
ui->verticalLayout->setStretchFactor(plot, 2);
Thanks,
A
Re: scaling of widgets in verticalLayout
already solved with:
Quote:
ui->gridLayout->setRowStretch(0, 1);
ui->gridLayout->setRowStretch(1, 3);