[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: How to trigger re-layout of form (same as what resizing the window does)

Eric Rizzo wrote:

Most likely you need to call layout() on the top-level Composite [probably the ScrolledForm that you get from managedForm.getForm()].
As Matthew suggested, a code snippet would help a great deal here.

Thanks Eric (and others) who had suggestions -- seems like I didn't go quite high enough in the hierarchy, I think I'd gone as far as layout() on form.getBody(), but not the form itself.


That does the trick!