]> source.dussan.org Git - vaadin-framework.git/commitdiff
avoiding obsolete request layout on paint
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 31 Oct 2008 08:53:23 +0000 (08:53 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 31 Oct 2008 08:53:23 +0000 (08:53 +0000)
svn changeset:5777/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java

index 01d82a2dc3be26ee381b0095a10aa8118120533d..0c2a295347cab8b79e1a8e8cd24afc24ab9cff6d 100755 (executable)
@@ -1025,7 +1025,8 @@ public class ApplicationConnection {
             // One or both is relative
             FloatSize relativeSize = new FloatSize(relativeWidth,
                     relativeHeight);
-            if (componentRelativeSizes.put(component, relativeSize) == null) {
+            if (componentRelativeSizes.put(component, relativeSize) == null
+                    && componentOffsetSizes.containsKey(component)) {
                 // The component has changed from absolute size to relative size
                 relativeSizeChanges.add(component);
             }