aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/IEmbedded.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IEmbedded.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IEmbedded.java
index 50dc9a2275..883a75c333 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IEmbedded.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IEmbedded.java
@@ -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);
}