[Qtce-preview-feedback] QTableView andsetStretchLastSectionproblem
Jörg Bornemann
joerg.bornemann at trolltech.com
Wed Apr 9 17:48:26 CEST 2008
Hi George,
Thanks for your sample application! I can reproduce it now, even on
Win32 - so its not a Windows CE issue.
It is definitely a bug, we will create a task for it.
You can easily work around this problem by calling
setStretchLastSection(true) *after* setModel:
[...]
QTableView* view = new QTableView;
view->setModel(new TestModel(view));
view->horizontalHeader()->setStretchLastSection(true);
view->show();
Hope this helps,
Jörg
More information about the Qtce-preview-feedback
mailing list