Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [albireo-dev] SWT size/layout management

Gordon Hirsch wrote:
> This particular example (in SearchPart) is not the implementation of a 
> widget. The code is in a a user of the button and other widgets.

Yes, and lots of other code is written in the same spirit.

> Have you found examples of an actual widget calling layout() on its parent?

Very few. One is here:
  org.eclipse.compare/compare/org/eclipse/compare/internal/ImageCanvas.java

So I'm now convinced that - as you said - in SWT it's the application which
calls layout().

What's the relation between ControlListener and layout()?

Bruno


Back to the top