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:
ui
->twResults
->verticalHeader
()->setResizeMode
(QHeaderView::Stretch);
ui->twResults->verticalHeader()->setResizeMode(QHeaderView::Stretch);
To copy to clipboard, switch view to plain text mode
And for way 2:
view = ui->twBoard->verticalHeader();
ui->twBoard->setVerticalHeader(view);
QHeaderView *view;
view = ui->twBoard->verticalHeader();
view->setResizeMode(QHeaderView::Stretch);
ui->twBoard->setVerticalHeader(view);
To copy to clipboard, switch view to plain text mode
twBoard and twResults are the two widgets that need the formatting.
Am I doing something wrong?
Bookmarks