diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2235.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tickets/Ticket2235.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2235.java b/uitest/src/com/vaadin/tests/tickets/Ticket2235.java new file mode 100644 index 0000000000..fba82956e0 --- /dev/null +++ b/uitest/src/com/vaadin/tests/tickets/Ticket2235.java @@ -0,0 +1,28 @@ +package com.vaadin.tests.tickets; + +import com.vaadin.Application; +import com.vaadin.ui.AbstractOrderedLayout; +import com.vaadin.ui.UI.LegacyWindow; +import com.vaadin.ui.TextArea; + +public class Ticket2235 extends Application.LegacyApplication { + + @Override + public void init() { + LegacyWindow w = new LegacyWindow(getClass().getSimpleName()); + setMainWindow(w); + // setTheme("tests-tickets"); + createUI((AbstractOrderedLayout) w.getContent()); + } + + private void createUI(AbstractOrderedLayout layout) { + layout.setSizeFull(); + + TextArea tf = new TextArea(); + tf.setCaption("A text field"); + tf.setSizeFull(); + tf.setRows(2); + + layout.addComponent(tf); + } +} |