I have QTableWidget( qt 4.3.2 ) witch 7 columns and very simple code:
After that I have something like thisQt Code:
for(int i=0; i<rowCount();i++) { if(i%2==0) { resizeRowToContents( i ); item( i, 5 )->setText("aaaaaa" ); setSpan( i, 1, i, 7 ); } }To copy to clipboard, switch view to plain text mode
before
after
Why this code doesn't work? It's bug or what?
Bookmarks