Wrappable text in a TableView
I have a TableView where certain entries contain very long strings (amino acid and nucleotide sequences). I would like the long strings to wrap to the size of the column they are in -- so if the column a long string is in is 100 pixels wide, then the string wraps to 100 pixels, turning into a multi-line label.
I have tried everything to get this to work. Calling the table cell wrapText(true), creating my own custom cell with a wrapping label, etc. But no luck -- somehow the table row height stays the same.
Does anyone have an example of a table in which the cells size to the height of their content? And hence in which a long string can wrap over multiple lines.