diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/table/SafariRenderingBugWhiteSpace.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/table/SafariRenderingBugWhiteSpace.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/table/SafariRenderingBugWhiteSpace.java b/uitest/src/com/vaadin/tests/components/table/SafariRenderingBugWhiteSpace.java index 6f4436880a..b1dd628bf2 100644 --- a/uitest/src/com/vaadin/tests/components/table/SafariRenderingBugWhiteSpace.java +++ b/uitest/src/com/vaadin/tests/components/table/SafariRenderingBugWhiteSpace.java @@ -7,6 +7,7 @@ import com.vaadin.tests.components.TestBase; import com.vaadin.ui.HorizontalSplitPanel; import com.vaadin.ui.Panel; import com.vaadin.ui.Table; +import com.vaadin.ui.VerticalLayout; public class SafariRenderingBugWhiteSpace extends TestBase { @@ -45,7 +46,9 @@ public class SafariRenderingBugWhiteSpace extends TestBase { split.setFirstComponent(table); split.setSplitPosition(100, Sizeable.UNITS_PERCENTAGE); - Panel editor = new Panel("Editor"); + VerticalLayout pl = new VerticalLayout(); + pl.setMargin(true); + Panel editor = new Panel("Editor", pl); editor.setSizeFull(); split.setSecondComponent(editor); getLayout().setSizeFull(); |