summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/TestForExpandLayout.java
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2008-01-28 10:22:16 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2008-01-28 10:22:16 +0000
commitd48f8a80f403e0ebb21cf6fa7aafde091e43d35b (patch)
tree67646c1518ea2a92a3e5df50c4d9ba07e9c39d8c /src/com/itmill/toolkit/tests/TestForExpandLayout.java
parentafc95e6c9482fc0611449d3d0be7c33ac7daa82b (diff)
downloadvaadin-framework-d48f8a80f403e0ebb21cf6fa7aafde091e43d35b.tar.gz
vaadin-framework-d48f8a80f403e0ebb21cf6fa7aafde091e43d35b.zip
component implements sizeable and simple general terminal implementation
svn changeset:3662/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/TestForExpandLayout.java')
-rw-r--r--src/com/itmill/toolkit/tests/TestForExpandLayout.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/tests/TestForExpandLayout.java b/src/com/itmill/toolkit/tests/TestForExpandLayout.java
index c3bb09a4ae..c077390b2a 100644
--- a/src/com/itmill/toolkit/tests/TestForExpandLayout.java
+++ b/src/com/itmill/toolkit/tests/TestForExpandLayout.java
@@ -4,7 +4,6 @@
package com.itmill.toolkit.tests;
-import com.itmill.toolkit.terminal.Size;
import com.itmill.toolkit.ui.CustomComponent;
import com.itmill.toolkit.ui.DateField;
import com.itmill.toolkit.ui.ExpandLayout;
@@ -36,7 +35,7 @@ public class TestForExpandLayout extends CustomComponent {
el.addComponent(l);
}
if (i > 0) {
- el.getSize().setHeight(1, Size.UNITS_EM);
+ el.setHeight(1, ExpandLayout.UNITS_EM);
}
main.addComponent(el);
}