summaryrefslogtreecommitdiffstats
path: root/tests/testbench/com/vaadin/tests/tickets/Ticket2040.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testbench/com/vaadin/tests/tickets/Ticket2040.java')
-rw-r--r--tests/testbench/com/vaadin/tests/tickets/Ticket2040.java172
1 files changed, 86 insertions, 86 deletions
diff --git a/tests/testbench/com/vaadin/tests/tickets/Ticket2040.java b/tests/testbench/com/vaadin/tests/tickets/Ticket2040.java
index 647921b1fa..ac8928d110 100644
--- a/tests/testbench/com/vaadin/tests/tickets/Ticket2040.java
+++ b/tests/testbench/com/vaadin/tests/tickets/Ticket2040.java
@@ -1,87 +1,87 @@
-package com.vaadin.tests.tickets;
-
-import com.vaadin.ui.Accordion;
-import com.vaadin.ui.Label;
-import com.vaadin.ui.Layout;
-import com.vaadin.ui.Root.LegacyWindow;
-import com.vaadin.ui.TextArea;
-import com.vaadin.ui.TextField;
-
-public class Ticket2040 extends com.vaadin.Application.LegacyApplication {
-
- TextField f = new TextField();
-
- @Override
- public void init() {
- LegacyWindow main = new LegacyWindow();
- setMainWindow(main);
-
- main.getContent().setSizeFull();
- ((Layout) main.getContent()).setMargin(true);
-
- setTheme("tests-tickets");
-
- Accordion ts;
-
- ts = new Accordion();
- ts.setSizeFull();
- ts.setWidth("300px");
-
- TextArea l = new TextArea("DSFS");
- l.setRows(2);
- l.setStyleName("red");
- l.setSizeFull();
- ts.addTab(l, "100% h component", null);
-
- Label testContent = new Label(
- "TabSheet by default uses caption, icon, errors etc. from Components. ");
-
- testContent.setCaption("Introduction to test");
-
- ts.addTab(testContent);
-
- // main.addComponent(ts);
-
- ts = new Accordion();
- ts.setSizeFull();
- ts.setHeight("200px");
- ts.setWidth("300px");
-
- l = new TextArea("DSFS");
- l.setRows(2);
- l.setStyleName("red");
- l.setSizeFull();
- ts.addTab(l, "200px h component", null);
-
- testContent = new Label(
- "TabSheet by default uses caption, icon, errors etc. from Components. ");
-
- testContent.setCaption("Introduction to test");
-
- ts.addTab(testContent);
-
- main.addComponent(ts);
-
- ts = new Accordion();
- ts.setSizeFull();
- ts.setHeight("50%");
- ts.setWidth("300px");
-
- l = new TextArea("DSFS");
- l.setRows(2);
- l.setStyleName("red");
- l.setSizeFull();
- ts.addTab(l, "50% h component", null);
-
- testContent = new Label(
- "TabSheet by default uses caption, icon, errors etc. from Components. ");
-
- testContent.setCaption("Introduction to test");
-
- ts.addTab(testContent);
-
- // main.addComponent(ts);
-
- }
-
+package com.vaadin.tests.tickets;
+
+import com.vaadin.ui.Accordion;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Layout;
+import com.vaadin.ui.Root.LegacyWindow;
+import com.vaadin.ui.TextArea;
+import com.vaadin.ui.TextField;
+
+public class Ticket2040 extends com.vaadin.Application.LegacyApplication {
+
+ TextField f = new TextField();
+
+ @Override
+ public void init() {
+ LegacyWindow main = new LegacyWindow();
+ setMainWindow(main);
+
+ main.getContent().setSizeFull();
+ ((Layout) main.getContent()).setMargin(true);
+
+ setTheme("tests-tickets");
+
+ Accordion ts;
+
+ ts = new Accordion();
+ ts.setSizeFull();
+ ts.setWidth("300px");
+
+ TextArea l = new TextArea("DSFS");
+ l.setRows(2);
+ l.setStyleName("red");
+ l.setSizeFull();
+ ts.addTab(l, "100% h component", null);
+
+ Label testContent = new Label(
+ "TabSheet by default uses caption, icon, errors etc. from Components. ");
+
+ testContent.setCaption("Introduction to test");
+
+ ts.addTab(testContent);
+
+ // main.addComponent(ts);
+
+ ts = new Accordion();
+ ts.setSizeFull();
+ ts.setHeight("200px");
+ ts.setWidth("300px");
+
+ l = new TextArea("DSFS");
+ l.setRows(2);
+ l.setStyleName("red");
+ l.setSizeFull();
+ ts.addTab(l, "200px h component", null);
+
+ testContent = new Label(
+ "TabSheet by default uses caption, icon, errors etc. from Components. ");
+
+ testContent.setCaption("Introduction to test");
+
+ ts.addTab(testContent);
+
+ main.addComponent(ts);
+
+ ts = new Accordion();
+ ts.setSizeFull();
+ ts.setHeight("50%");
+ ts.setWidth("300px");
+
+ l = new TextArea("DSFS");
+ l.setRows(2);
+ l.setStyleName("red");
+ l.setSizeFull();
+ ts.addTab(l, "50% h component", null);
+
+ testContent = new Label(
+ "TabSheet by default uses caption, icon, errors etc. from Components. ");
+
+ testContent.setCaption("Introduction to test");
+
+ ts.addTab(testContent);
+
+ // main.addComponent(ts);
+
+ }
+
} \ No newline at end of file