jd
unread,Nov 7, 2009, 3:51:55 AM11/7/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
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()?