diff options
author | Artur Signell <artur@vaadin.com> | 2012-11-26 19:58:16 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-11-26 20:18:37 +0200 |
commit | 515c3993e81025515aefe1af18a5a9bf80ce5686 (patch) | |
tree | ed0463240fd9d05a91ebe281001845574a0181b6 /uitest | |
parent | c27a7044bb0ed55eb51b53bd7b2bd9204d614383 (diff) | |
download | vaadin-framework-515c3993e81025515aefe1af18a5a9bf80ce5686.tar.gz vaadin-framework-515c3993e81025515aefe1af18a5a9bf80ce5686.zip |
Fix resize of a Window with a single component (#10375)
Change-Id: I04d2d39b61ee5fb841511dd23d6f674089cff916
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java | 27 |
1 files changed, 27 insertions, 0 deletions
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;
+ }
+
+}
|