Community
Participate
Working Groups
Created attachment 192471 [details] ItemLCAUtil_1.patch Hi, one of the major drawbacks we had in many projects was the imcapability of the swt table to display multi-line headers and multi-line rows. In RWT we would like to apply the attached patch to at least support for multi-line table headers. This will patch org.eclipse.rap.rwt and org.eclipse.rap.rwt.q07 Multi-line table rows are however still not reasonably possible (in an easy way without paint and metrics listeners...) due to the core swt method Table.getItemHeight() without an item argument. -andy
Created attachment 192473 [details] RWT_1.patch
Created attachment 192474 [details] Table_1.patch
Recently I saw changes for multi-line headers in HEAD. Can this feature request be closed or are there any outstanding issues?
I think the only remaining issue is the API.
(In reply to comment #4) > I think the only remaining issue is the API. I think we should not provide distinct API for multi-column headers. I suggest to scan for line breaks and use these to split text across multkiple lines. Example tableColumn.setText( "One line\nand another" ); Though this isn't strictly backwards compatible, it seems to me the most obvious way to achieve line breaks in column texts.
Fixed in CVS HEAD as suggested by Rüdiger.