summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/tickets
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2008-12-03 15:41:27 +0000
committerArtur Signell <artur.signell@itmill.com>2008-12-03 15:41:27 +0000
commit6f9edf7eef6d25f17bc29fb29ccf5f3ccb2554fc (patch)
treef83d0738649019c45f2ea361d466c35f3677ec4b /src/com/itmill/toolkit/tests/tickets
parent26039540f149464e97dbdf859c779772c8b9c2dc (diff)
downloadvaadin-framework-6f9edf7eef6d25f17bc29fb29ccf5f3ccb2554fc.tar.gz
vaadin-framework-6f9edf7eef6d25f17bc29fb29ccf5f3ccb2554fc.zip
#2282 test case
svn changeset:6087/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/tickets')
-rw-r--r--src/com/itmill/toolkit/tests/tickets/Ticket2282.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/tests/tickets/Ticket2282.java b/src/com/itmill/toolkit/tests/tickets/Ticket2282.java
new file mode 100644
index 0000000000..7e7a884096
--- /dev/null
+++ b/src/com/itmill/toolkit/tests/tickets/Ticket2282.java
@@ -0,0 +1,25 @@
+package com.itmill.toolkit.tests.tickets;
+
+import com.itmill.toolkit.Application;
+import com.itmill.toolkit.ui.FormLayout;
+import com.itmill.toolkit.ui.Label;
+import com.itmill.toolkit.ui.Window;
+
+public class Ticket2282 extends Application {
+
+ public void init() {
+ Window w = new Window(getClass().getSimpleName());
+ setMainWindow(w);
+ setTheme("tests-tickets");
+ w.getLayout().setSizeUndefined();
+
+ FormLayout formLayout = new FormLayout();
+ formLayout.setSizeUndefined();
+ formLayout.setStyleName("borders");
+ formLayout
+ .addComponent(new Label(
+ "This should not be wider than this label + reserved error space"));
+ w.addComponent(formLayout);
+ }
+
+}