]> source.dussan.org Git - vaadin-framework.git/commitdiff
sane height for subwindows in FB
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 10 Nov 2008 13:08:22 +0000 (13:08 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 10 Nov 2008 13:08:22 +0000 (13:08 +0000)
svn changeset:5847/svn branch:trunk

src/com/itmill/toolkit/tests/featurebrowser/FeatureWindow.java

index b8068a60b62914b43d25152d1b7cad50881540fa..867ba8162a0222601383b899b30f1f6346455c70 100644 (file)
@@ -35,8 +35,8 @@ public class FeatureWindow extends Feature implements Window.CloseListener {
 
         demoWindow = new Window("Feature Test Window");
         demoWindow.addListener(this);
-        demoWindow.setWidth(400);
-        demoWindow.setHeight(200);
+        demoWindow.setWidth("400px");
+        demoWindow.setHeight("200px");
         demoWindow.setTheme("default");
 
         layoutUpper.addComponent(addButton);