summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket1869.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket1869.java')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1869.java53
1 files changed, 0 insertions, 53 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1869.java b/uitest/src/com/vaadin/tests/tickets/Ticket1869.java
deleted file mode 100644
index 8f5c1ce633..0000000000
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1869.java
+++ /dev/null
@@ -1,53 +0,0 @@
-package com.vaadin.tests.tickets;
-
-import com.vaadin.ui.Button;
-import com.vaadin.ui.GridLayout;
-import com.vaadin.ui.HorizontalLayout;
-import com.vaadin.ui.LegacyWindow;
-import com.vaadin.ui.Panel;
-import com.vaadin.ui.VerticalLayout;
-
-public class Ticket1869 extends com.vaadin.server.LegacyApplication {
-
- @Override
- public void init() {
-
- GridLayout lo = new GridLayout(2, 1);
- setMainWindow(new LegacyWindow("#1869", lo));
- lo.setMargin(true);
- lo.setSpacing(true);
-
- VerticalLayout el = new VerticalLayout();
- Panel elp = new Panel(
- "Vertical ExpandLayout /w first component expanded", el);
- el.setHeight("1000px");
- for (int i = 0; i < 3; i++) {
- Button b = new Button("x");
- el.addComponent(b);
- if (i == 0) {
- b.setSizeFull();
- el.setExpandRatio(b, 1);
- }
- }
- lo.addComponent(elp);
- elp.setWidth("300px");
- elp.setHeight("300px");
-
- HorizontalLayout elh = new HorizontalLayout();
- Panel elph = new Panel(
- "Horizontal ExpandLayout /w first component expanded", elh);
- elh.setWidth("1000px");
- for (int i = 0; i < 3; i++) {
- Button b = new Button("x");
- elh.addComponent(b);
- if (i == 0) {
- b.setSizeFull();
- elh.setExpandRatio(b, 1);
- }
- }
- lo.addComponent(elph);
- elph.setWidth("300px");
- elph.setHeight("300px");
-
- }
-}