c++ - setSectionResizeMode only resizes for what is currently shown -


ui->tablewidget->horizontalheader()->setsectionresizemode(0, qheaderview::resizetocontents); ui->tablewidget->horizontalheader()->setsectionresizemode(1, qheaderview::stretch); 

video: http://youtu.be/kbpf9olxoq4

how can resize strings?

edit: ui->tablewidget->resizecolumntocontents(0);


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -