Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Table with variable row heights
Table with variable row heights [message #598201] Wed, 16 September 2009 11:09
Ian Leslie is currently offline Ian Leslie
Messages: 136
Registered: July 2009
Senior Member
I'm a Nebula newbie but found CompositeTable yesterday and it looked
promising for what I wanted; a simple table where one column contains long
strings that wrap based on the column width and each row grows to the
height needed for that row's content.

I just ran through the snippets and did not see an example that is simiar
(I looked at Grid as well). Searching the forum I found
http://dev.eclipse.org/newslists/news.eclipse.technology.neb ula/msg00213.html
which indicates that rows must be of a fixed size. Is that still true?

I based my experiment on CompositeTableSnippet5.java because I want
resizable and sortable columns as well. But each row remained a fixed
size even after I regigged the Labels to have SWT.WRAP.

It seems that if I instead create my own custom row with its own layout I
will have more luck. Then I can make the columns resizable and sortable
myself in a similar way that AbstractSelectableRow and
AbstractNativeHeader work together to create resizable columns.

Does this seem at all reasonable? Am I pointed in the right direction?
Will rows with their own layout have variable height?

Thanks for your advice,

Ian
Previous Topic:Grid
Next Topic:Ganttchart 2.0 NIGHTLY Summary?
Goto Forum:
  


Current Time: Fri Sep 19 21:54:01 GMT 2014

Powered by FUDForum. Page generated in 0.01450 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software