PDA

View Full Version : how can i have QTableWidget with autosize row height



solook
18th September 2011, 19:17
hi
is it possible to have QTableWidget with autosize row height ..

for example a item have 10 line text so row height for this row must 150 px and next item have 2 line text to row height for this item must be 50 px..

deepal_de
19th September 2011, 05:42
Try wordWrap property in QTableWidget.

solook
19th September 2011, 08:49
Try wordWrap property in QTableWidget.

thats not work....

i found !

tableWidget->resizeRowsToContents();