summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-07-19 09:18:58 +0300
committerHenri Sara <henri.sara@gmail.com>2017-07-19 09:18:58 +0300
commit7b288aeb663f89bdac8cbf7eb20877681b4b49a6 (patch)
tree9526a5a1707291f896c6ff67ca8369f040763319 /documentation
parenta108a7e8da24d5f38e5e3f34e4a0e95c1cb6b56e (diff)
downloadvaadin-framework-7b288aeb663f89bdac8cbf7eb20877681b4b49a6.tar.gz
vaadin-framework-7b288aeb663f89bdac8cbf7eb20877681b4b49a6.zip
Add styling for ComponentRenderer wrapper div (#9691)
Fixes #9170
Diffstat (limited to 'documentation')
-rw-r--r--documentation/components/components-grid.asciidoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc
index 1cd231aa82..63f297eddc 100644
--- a/documentation/components/components-grid.asciidoc
+++ b/documentation/components/components-grid.asciidoc
@@ -621,6 +621,7 @@ grid.addColumn(person -> {
}, new ComponentRenderer());
----
+[classname]#Components# in [classname]#Grid# [classname]#ComponentRenderer# are wrapped in a [literal]#++div++# with the style name [literal]#++component-wrap++#. This can be used to style the alignment and size of the [classname]#Component#.
[[components.grid.renderer.custom]]
=== Custom Renderers