aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/layout/layout-accordion.asciidoc
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-01-05 17:38:33 +0200
committerGitHub <noreply@github.com>2017-01-05 17:38:33 +0200
commit11f10b827e92ed7c07d6584a181f7f1374e8109b (patch)
tree7df28388d5170b733150cea9b4731b32cb094d02 /documentation/layout/layout-accordion.asciidoc
parentb74e08cfe8a849a8f74e6f9f0a3d7c0475ce196d (diff)
downloadvaadin-framework-11f10b827e92ed7c07d6584a181f7f1374e8109b.tar.gz
vaadin-framework-11f10b827e92ed7c07d6584a181f7f1374e8109b.zip
Update layout chapter of the documentation for version 8 (#8154)
The SplitPanel chapter still uses a Tree in its example.
Diffstat (limited to 'documentation/layout/layout-accordion.asciidoc')
-rw-r--r--documentation/layout/layout-accordion.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/layout/layout-accordion.asciidoc b/documentation/layout/layout-accordion.asciidoc
index 001c1f677e..b84ccf4100 100644
--- a/documentation/layout/layout-accordion.asciidoc
+++ b/documentation/layout/layout-accordion.asciidoc
@@ -48,7 +48,7 @@ String[] tabs = {"Earth", "Mars", "Jupiter", "Saturn"};
for (String caption: tabs) {
String basename = "img/planets/" + caption;
VerticalLayout tab = new VerticalLayout();
- tab.addComponent(new Embedded(null,
+ tab.addComponent(new Image(null,
new ThemeResource(basename + ".jpg")));
accordion.addTab(tab, caption,
new ThemeResource(basename + "_symbol.png"));