Originally Posted by macias I though that resize mode for headers will do the trick however, after comparison: Qt Code: Switch view verticalHeader()->setResizeMode(QHeaderView::Fixed);horizontalHeader()->setResizeMode(QHeaderView::Interactive); verticalHeader()->setResizeMode(QHeaderView::Fixed); horizontalHeader()->setResizeMode(QHeaderView::Interactive); To copy to clipboard, switch view to plain text mode I see absolutely no difference in behaviour -- I mean, both are interactively resizeable. Something must be mixing it up. QHeaderView::Fixed should do the trick. At least it does for me with Qt 4.2.3 and 4.3.0.
verticalHeader()->setResizeMode(QHeaderView::Fixed);horizontalHeader()->setResizeMode(QHeaderView::Interactive);
verticalHeader()->setResizeMode(QHeaderView::Fixed); horizontalHeader()->setResizeMode(QHeaderView::Interactive);
J-P Nurmi
Forum Rules
Bookmarks