]> source.dussan.org Git - vaadin-framework.git/commitdiff
removed default 100% size from IEmbedded
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 4 Nov 2008 14:09:07 +0000 (14:09 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 4 Nov 2008 14:09:07 +0000 (14:09 +0000)
svn changeset:5813/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/IEmbedded.java

index 50dc9a2275e5b5d9ef72876c0cda41efc0e8fdd3..883a75c3339022399d417d352c701b44b81d850f 100644 (file)
@@ -116,17 +116,11 @@ public class IEmbedded extends HTML implements Paintable {
     }
 
     public void setWidth(String width) {
-        if (width == null || width.equals("")) {
-            width = "100%";
-        }
         this.width = width;
-        super.setHeight(width);
+        super.setWidth(width);
     }
 
     public void setHeight(String height) {
-        if (height == null || height.equals("")) {
-            height = "100%";
-        }
         heigth = height;
         super.setHeight(height);
     }