Re: Help with QTableWidget
See QHeaderView::setResizeMode() with QHeaderView::Stretch.
Re: Help with QTableWidget
HI:
I've tried to do what you told me in two different ways and both do nothing.
Here is the code for way 1:
Code:
ui
->twResults
->verticalHeader
()->setResizeMode
(QHeaderView::Stretch);
And for way 2:
Code:
view = ui->twBoard->verticalHeader();
ui->twBoard->setVerticalHeader(view);
twBoard and twResults are the two widgets that need the formatting.
Am I doing something wrong?
Re: Help with QTableWidget
You should use the horizontal header.
Re: Help with QTableWidget
That worked. And now that I think about it, I realized my mistake. I always confuse the vertical and horizontal headers because i think of the cell orientations....
Well thank you very much.