[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Layouts, minimal height and grabExcessXXXSpace

Christophe Fondacci wrote:

> Woops, sorry I know how to set the minimal height, but I would still like
> to know if it is possible for 2 controls to grab excess vertical space and
> to constrain them with the same height, whatever their content.
> Thanks

This isn't a direct answer to your question, but if you use SashForm, you
can make sure the tables have the same initial size by giving them the same
weight.  The problem would be the button -- it would not behave the way you
want if placed between the tables in the SashForm.  You would have to put
the button somewhere else.  

If you end up coding a custom container, the SashForm source code might be a
good place to start.

-David