[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Equally sized widgets

Rich Kulp wrote:

> Try FillLayout instead (set its fillayout.type = FillLayout.VERTICAL).
> 
> This will make them all the same size, they will as wide as the widest
> one and as tall as the tallest one.

That works fine (SWT.VERTICAL instead of FillLayout.VERTICAL), except for
one problem, which I admittedly forgot to mention before: Above each of my
three table containers I also have a Text label, which of course should
keep its default height. I suppose I could add another layer of composites
two group each label/table pair and have those get the same height through
FillLayout, but perhaps there is another way?

Thanks,
Marian.

-- 
Hofstadter's law: "It always takes longer than you think, even when you take
account of Hofstadter's law".