|Re: set Column width to show complete text [message #503059 is a reply to message #502498]
||Thu, 10 December 2009 17:41
| Grant Gayed
Registered: July 2009
After setting your item texts you should pack() the column, which will make
it the minimum width that's required to fit the texts. The platform
limitation is reached if your column width wants to exceed 32767, but if you
think that 10000 pixels is wide enough then this should not be the issue.
Are you able to provide a snippet that shows the problem? There are many
example Table snippets at http://www.eclipse.org/swt/snippets#table that you
could use as a starting point.
"kai guo" <email@example.com> wrote in message
> hello everyone,
> I have a table with only one column, every cell contains very long text. I
set the column width big enough (e.g. 10000), and the table is also
scrollable, but the text was still not completely displayed.
> maybe could someone help me to solve this problem
> kind regard
Powered by FUDForum
. Page generated in 0.07486 seconds