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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to