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