[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: widget's layout exceeds client area, how to constrain to fixed size?

Ed Merks wrote:
Barrie,

Did you use layout data on the children to control things like their minimum width or their stretchiness?

No.

I'm only adding a single child to the shell, a Composite which contains all the other controls.

I'm trying to re-surface a gui screen outside of RCP.

In RCP the child components are constrained to fit within the parent's bounds.

But in a standalone SWT shell the single child appears to not respect the available space and allows it's children to be laid out outside of its bounds.

I can try adding layout data to the single child, but I'm not sure how that will fix things.

Thanks.