Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsGridTableViewer, go to line with "\n" ?
https://www.eclipse.org/forums/index.php/mv/msg/696566/1297244/#msg_1297244
I use a GridTableViewer and i want to go to line either using GridItem.setText or the label provider, but using "\n" in my text does not work !
Have you a solution for that ?
To be exact what i want to do is to wrap big lines of text in grids and have different heights for each row. I achieved to have different heights with GridItem.setHeight but not to do something as simple as going to line. I tried CR, LR, <BR>, <BR/>, \n.