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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -