From 515c3993e81025515aefe1af18a5a9bf80ce5686 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 26 Nov 2012 19:58:16 +0200 Subject: Fix resize of a Window with a single component (#10375) Change-Id: I04d2d39b61ee5fb841511dd23d6f674089cff916 --- .../tests/components/ui/WindowWithLabel.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java (limited to 'uitest/src/com') diff --git a/uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java b/uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java new file mode 100644 index 0000000000..994c0692e0 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java @@ -0,0 +1,27 @@ +package com.vaadin.tests.components.ui; + +import com.vaadin.server.VaadinRequest; +import com.vaadin.tests.components.AbstractTestUI; +import com.vaadin.ui.Label; +import com.vaadin.ui.Window; + +public class WindowWithLabel extends AbstractTestUI { + + @Override + protected void setup(VaadinRequest request) { + setContent(new Label("UI")); + Window window = new Window("A window"); + addWindow(window); + } + + @Override + protected String getTestDescription() { + return "Resize the window. It should work."; + } + + @Override + protected Integer getTicketNumber() { + return 10375; + } + +} -- cgit v1.2.3