Project: SWT
Bug 297511 [widgets] nicer truncation of Table/Tree items
Reported: 2009-12-10 12:20:28 | Status: resolved fixed

Table/TreeItems that are too long for their columns currently get truncated at the column bound. Other OSX apps tend to use "..." in this case, either at the "end" of the string (eg.- iTunes), or in the middle (eg.- Finder). Perhaps swt's custom Table/Tree data cell should do something similar.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java