[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Cannot place widgets in Group using FormLayout

Zheng Yi wrote:

> I am trying to place widgets within a group on a tabbed page.  I am not sure
> how to do this because there are no form attachments tha tyou can use to
> place widgets within a group. All help is appreciated.

What I found so far was that you have to place all the widgets first. Once
you have them placed, you can calculate the needed size (unless it will be
fixed), and then place the Group. It is kind of backwards as you would
think that you would need to place the Group first, then the other
widgets, but if you do this, they end up "behind", and are not visible.
The widgets do not end up being children of the Group, so the technique
must be different.
The problem with this is that as the widgets are not children of the
Group, so if any resizing takes place, the size of the Group will have to
be handled. Personally, I feel that this is a flaw not being able to have
the Group be the parent.