I've got a field in my TreeView that takes the text from a QTextEdit and stuffs it into a row in my tree. Unfortunately, if there's a newline, I get odd output in the field. It shows half of one line, and half of another - neither of which is really readable.

Is there a way to cause the tree view to recognize the newlines and expand the row?

I saw a property called "uniformRowHeights" in my tree view... it's currently set to "false", but I still see this behaviour.

Any suggestions? Thanks.