diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket1940.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tickets/Ticket1940.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1940.java b/uitest/src/com/vaadin/tests/tickets/Ticket1940.java new file mode 100644 index 0000000000..1a27e1ad28 --- /dev/null +++ b/uitest/src/com/vaadin/tests/tickets/Ticket1940.java @@ -0,0 +1,25 @@ +package com.vaadin.tests.tickets; + +import com.vaadin.Application; +import com.vaadin.ui.UI.LegacyWindow; +import com.vaadin.ui.TextField; +import com.vaadin.ui.VerticalLayout; + +public class Ticket1940 extends Application.LegacyApplication { + + @Override + public void init() { + final LegacyWindow w = new LegacyWindow(getClass().getName()); + setMainWindow(w); + + final VerticalLayout l = new VerticalLayout(); + l.setWidth("200px"); + l.setHeight(null); + TextField t = new TextField(); + l.addComponent(t); + t.setRequired(true); + w.addComponent(l); + + } + +} |