java - Is there any way to truncate org.eclipse.swt.widgets.Table item's text -
java - Is there any way to truncate org.eclipse.swt.widgets.Table item's text -
i'm using org.eclipse.swt.widgets.table
. have column width 100, if corresponding tableitem
's text longer column width, want remaining text appear in new line in cell.
is possible?
you can utilize multiline tableitem
s shown in this example:
however, have handle insertion of newlines (i.e. \n
) yourself. tableitem
s not back upwards wrapping themselves.
java swt
Comments
Post a Comment