PDA

View Full Version : Viewport layout



micgala
17 Jul 2009, 5:07 AM
Hi.

It seems like the layout() call is not made now automatically by a deferred command in Gxt 2.0.

Is this really the case?

If so, the javadoc must be changed. It is still stating this:

"* The viewport is not added to the root panel automatically. Is is not
* necessary to call {@link #layout()} after adding the viewport to the
* RootPanel. Layout will be called in a deferred command after being added to
* the root panel."

Regards,
Michel.

sven
17 Jul 2009, 5:19 AM
layout gets called onattach. I will fix the javadocs

micgala
17 Jul 2009, 5:23 AM
Ah, I see.

Tks, sven, for the info.