--- /dev/null
+package com.vaadin.tests.components.window;\r
+\r
+import com.vaadin.tests.components.TestBase;\r
+import com.vaadin.ui.NativeButton;\r
+import com.vaadin.ui.Window;\r
+\r
+public class FullSizedWindow extends TestBase {\r
+\r
+ @Override\r
+ protected void setup() {\r
+ Window w = new Window("full sized window");\r
+ w.setSizeFull();\r
+ w.getContent().setSizeFull();\r
+ NativeButton b = new NativeButton("A large button");\r
+ b.setSizeFull();\r
+ w.getContent().addComponent(b);\r
+ getMainWindow().addWindow(w);\r
+ setTheme("runo");\r
+ }\r
+\r
+ @Override\r
+ protected String getDescription() {\r
+ return "A 100%x100% sub window should not produce scrollbars in the main view or in the sub window. The button inside the sub window is 100%x100%, as is the layout";\r
+ }\r
+\r
+ @Override\r
+ protected Integer getTicketNumber() {\r
+ return 3407;\r
+ }\r
+\r
+}\r