diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/LayoutDemo.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/LayoutDemo.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/uitest/src/com/vaadin/tests/LayoutDemo.java b/uitest/src/com/vaadin/tests/LayoutDemo.java index 148e6105a6..b20e0b9bc8 100644 --- a/uitest/src/com/vaadin/tests/LayoutDemo.java +++ b/uitest/src/com/vaadin/tests/LayoutDemo.java @@ -98,23 +98,23 @@ public class LayoutDemo extends com.vaadin.Application { // mainWindow.addComponent(new Label( "<h3>Horizontal ordered layout</h3>Added four components.", - ContentMode.XHTML)); + ContentMode.HTML)); mainWindow.addComponent(layoutA); mainWindow.addComponent(new Label( "<br /><h3>Vertical ordered layout</h3>Added four components.", - ContentMode.XHTML)); + ContentMode.HTML)); mainWindow.addComponent(layoutB); mainWindow.addComponent(new Label( "<br /><h3>Grid Layout (4 x 4)</h3>Added 16 components.", - ContentMode.XHTML)); + ContentMode.HTML)); mainWindow.addComponent(layoutG); mainWindow.addComponent(new Label("<br /><h3>Grid Layout (4 x 4)</h3>" + "Added four panels and four embedded components " - + "diagonally with absolute coordinates.", ContentMode.XHTML)); + + "diagonally with absolute coordinates.", ContentMode.HTML)); mainWindow.addComponent(layoutG2); mainWindow.addComponent(new Label( "<br /><h3>TabSheet</h3>Added above layouts as tabs.", - ContentMode.XHTML)); + ContentMode.HTML)); mainWindow.addComponent(tabsheet); } @@ -135,7 +135,7 @@ public class LayoutDemo extends com.vaadin.Application { + "extremities and may have a caption to clarify the nature of the contained components' purpose." + " Panel contains an layout where the actual contained components are added, " + "this layout may be switched on the fly.", - ContentMode.XHTML)); + ContentMode.HTML)); panel.setWidth("222px"); return panel; } |