| [news.eclipse.platform.swt] Re: Layouts, minimal height and grabExcessXXXSpace |
Hello all,
I have a little problem with SWT.
Here it is :
- I created 2 tables vertically inside a grid composite, separated by a button. The idea is to select an item from the top table and to use the buttons to transfer this item to the bottom table.
- I would like those 2 tables to grab excess vertical space, and the buttons to always keep the minimal required height (which is the default)
- Therefore I set the grabExcessVerticalSpace to true for my 2 tables control
- I do not know the content of those tables at compile time, it depends on what i am editing...
The problem is that when, for example, my first table (the one on top) contains 100 items and the second table is empty, the topmost table takes the entire vertical space and the bottom table is nearly not visible.
I would like those 2 tables to have the same height and to grab the excess height space. I haven't found any way to do this. At least I would like to be able to specify a minimal height for both table to guarantee a minimum visible height for those table controls. Don't know how to do that either.
Could someone help me please ?
Thanks,
Christophe.