]> source.dussan.org Git - vaadin-framework.git/commitdiff
Bug in caption management
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Thu, 14 Jun 2007 14:01:55 +0000 (14:01 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Thu, 14 Jun 2007 14:01:55 +0000 (14:01 +0000)
svn changeset:1726/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/TkHorizontalLayout.java
src/com/itmill/toolkit/terminal/gwt/client/ui/TkVerticalLayout.java

index ca70d56b978ed256f0258fe79adffd9e5e1c9962..d5d5c6067c7f758c5ff932ec8a84614d3c86dcf3 100644 (file)
@@ -23,6 +23,7 @@ public class TkHorizontalLayout extends HorizontalPanel implements Paintable, La
 
                // TODO Should update instead of just redraw
                clear();
+               componentToWrapper.clear();
                
                for (Iterator i = uidl.getChildIterator(); i.hasNext();) {
                        UIDL uidlForChild = (UIDL) i.next();
index fa2b2a1d952f68f7c1ea05dacdc69fd89630f8ca..89e17db0daf427a48e57f49c819e694a2f653ffe 100644 (file)
@@ -23,6 +23,7 @@ public class TkVerticalLayout extends VerticalPanel implements Paintable, Layout
 
                // TODO Should update instead of just redraw
                clear();
+               componentToWrapper.clear();
                
                for (Iterator i = uidl.getChildIterator(); i.hasNext();) {
                        UIDL uidlForChild = (UIDL) i.next();