TableView specialized row height for each row depending on content
-
I have a tableview with some content in rows. The content in a row is based on a model.
In some of the rows the text contains "<br/>" and then the text after that becomes "invisible" because it comes out of the row height.How can I make the row height bigger or stay the same for each row depending on the content?
-
Hello,
did You try:
@pTableView()->verticalHeader()->setResizeMode( QHeaderView::ResizeToContents )@
?"QHeaderView::setResizeMode( ... )":http://qt-project.org/doc/qt-4.8/qheaderview.html#setResizeMode
If this won't help, can You post a short code example?
best wishes,
poorBob -
Would this even work in QML?