I filed a report and included the fix.

http://code.google.com/p/google-web-toolkit/issues/detail?id=4243#c0

On Nov 7, 3:51 pm, jd <[email protected]> wrote:
> Hi,
>
> I insert and widget into a DockLayoutPanel but the other widgets are
> not redrawn correctly.  I can see that this is because the inserted
> widget is added to the end of the child widget collection and during
> layout() its dimensions are not considered until last.
>
> Should this line:
>
>   protected void insert(Widget widget, Direction direction, double
> size,  Widget before) {
>
> ...
>
>     // Logical attach.
>     getChildren().add(widget);
>
> be an insert() instead of an add()?

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.


Reply via email to