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

As a bottom attachement use FormAttachement(100, 0) which means 100% of parent composite and no margin so it will always go to the bottom of the containing composite.

Regards
Stefan

Stephen wrote:
Hi,

I'm facing some problem. I have three composite in a composite.

The top and bottom composite are fixed sized in height.
The middle one may vary in size.
And the parent composite is resizable.

The problem is ;
when a parent composite is resized, the bottom composite comes to the area of top composite.
I use "top composite" for the "top" form attachment of middle composite and don't know what to put as the "bottom" attachment of the "bottom composite".


The idea is like a window with title bar and status bar.

--
Thanks