can Table cells wrap lines? [message #110132] |
Tue, 21 October 2008 22:41  |
Eclipse User |
|
|
|
Hello!
I am populating a Table widget (class org.eclipse.swt.widgets.Table) with
lengthy text values. When such values are longer than the column's width,
the overflow text is not visible. Is there a way to make a table widget's
content wrap?
Thanks,
David Donohue
|
|
|
|
|
Re: can Table cells wrap lines? [message #110478 is a reply to message #110433] |
Fri, 24 October 2008 09:22  |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
David,
please see my comments below.
Cheers,
Rüdiger
David Donohue wrote:
> Rüdiger,
> How about this workaround: on mouseover, the entire text of the table
> cell shows up as a tooltip. Is that possible?
Possible, yes, probably, but not provided out of the box. There is a
discussion about how tooltips could be implemented in this thread [1].
>
> Are you aware of any other widget besides Table which can render like a
> grid?
If you have only *very* few "cells" to display, you lay out labels
in a ScrolledComposite.
With even a moderate amount of rows, you are likely to stress the
client that much that the app becomes unusable.
> Thanks!
> David Donohue
>
[1]
http://www.eclipse.org/newsportal/article.php?id=4695&gr oup=eclipse.technology.rap#4695
|
|
|
Powered by
FUDForum. Page generated in 0.03883 seconds