diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-03-15 16:59:53 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-03-15 17:00:07 +0200 |
commit | 2dd0568f5bdd42c6385d80745e8e5680527d1223 (patch) | |
tree | c104c3beb8f5e147fe9f73d27e58b88005a26cc1 /tests/testbench | |
parent | 503e317290f016bb15a275780e48c513e4589495 (diff) | |
download | vaadin-framework-2dd0568f5bdd42c6385d80745e8e5680527d1223.tar.gz vaadin-framework-2dd0568f5bdd42c6385d80745e8e5680527d1223.zip |
Prevent another case of margin collapse
Diffstat (limited to 'tests/testbench')
-rw-r--r-- | tests/testbench/com/vaadin/tests/layouts/layouttester/VerticalLayoutTests.java | 4 |
1 files changed, 3 insertions, 1 deletions
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("<hr />", ContentMode.XHTML)); + vlo2.addComponent(new Label( + "<div style='height: 1px'></div><hr /><div style='height: 1px'></div>", + ContentMode.XHTML)); vlo2.addComponent(c2); vlo2.setExpandRatio(c1, 0.5f); vlo2.setExpandRatio(c2, 0.5f); |