diff options
author | Henri Sara <henri.sara@gmail.com> | 2017-01-05 17:38:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-05 17:38:33 +0200 |
commit | 11f10b827e92ed7c07d6584a181f7f1374e8109b (patch) | |
tree | 7df28388d5170b733150cea9b4731b32cb094d02 /documentation/layout/layout-accordion.asciidoc | |
parent | b74e08cfe8a849a8f74e6f9f0a3d7c0475ce196d (diff) | |
download | vaadin-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.asciidoc | 2 |
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")); |