diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2062.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tickets/Ticket2062.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2062.java b/uitest/src/com/vaadin/tests/tickets/Ticket2062.java new file mode 100644 index 0000000000..9b2fe05514 --- /dev/null +++ b/uitest/src/com/vaadin/tests/tickets/Ticket2062.java @@ -0,0 +1,41 @@ +package com.vaadin.tests.tickets; + +import com.vaadin.Application; +import com.vaadin.ui.HorizontalSplitPanel; +import com.vaadin.ui.UI.LegacyWindow; +import com.vaadin.ui.TabSheet; +import com.vaadin.ui.Table; +import com.vaadin.ui.TextField; + +public class Ticket2062 extends Application.LegacyApplication { + private static final Object P1 = new Object(); + + @Override + public void init() { + setMainWindow(new LegacyWindow("Ticket2062")); + getMainWindow().setSizeFull(); + + HorizontalSplitPanel p = new HorizontalSplitPanel(); + p.setSizeFull(); + getMainWindow().setContent(p); + + TextField tf1 = new TextField("Tab 1"); + tf1.setValue("Field 1"); + tf1.setSizeFull(); + + Table t = new Table("Table"); + t.addContainerProperty(P1, String.class, ""); + t.setSizeFull(); + + TabSheet tabSheet = new TabSheet(); + tabSheet.setWidth("300px"); + tabSheet.setHeight("300px"); + + tabSheet.addComponent(tf1); + tabSheet.addComponent(t); + + getMainWindow().addComponent(tabSheet); + + } + +}
\ No newline at end of file |