diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-11-04 14:09:07 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-11-04 14:09:07 +0000 |
commit | 77912574e3a351965bd213ab5952f529c4c7665b (patch) | |
tree | bb976df9788993ca31299159bde06a13fc44939e /src | |
parent | 6664f45783124158b8dd7b75e479358ee588837f (diff) | |
download | vaadin-framework-77912574e3a351965bd213ab5952f529c4c7665b.tar.gz vaadin-framework-77912574e3a351965bd213ab5952f529c4c7665b.zip |
removed default 100% size from IEmbedded
svn changeset:5813/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/client/ui/IEmbedded.java | 8 |
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); } |