From 2dd0568f5bdd42c6385d80745e8e5680527d1223 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Thu, 15 Mar 2012 16:59:53 +0200 Subject: [PATCH] Prevent another case of margin collapse --- .../tests/layouts/layouttester/VerticalLayoutTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testbench/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java b/tests/testbench/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java index 9fe6367d60..fee1807c09 100644 --- a/tests/testbench/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java +++ b/tests/testbench/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java @@ -269,7 +269,9 @@ public class VerticalLayoutTests extends AbstractLayoutTests { button4.setEnabled(false); vlo2.addComponent(c1); - vlo2.addComponent(new Label("
", ContentMode.XHTML)); + vlo2.addComponent(new Label( + "

", + ContentMode.XHTML)); vlo2.addComponent(c2); vlo2.setExpandRatio(c1, 0.5f); vlo2.setExpandRatio(c2, 0.5f); -- 2.39.5