From 39846ae08337d55a24d3d90a6350f8e565a5c27f Mon Sep 17 00:00:00 2001
From: Artur <artur@vaadin.com>
Date: Tue, 30 May 2017 16:24:58 +0300
Subject: Allow grid columns to optionally shrink to be narrower than contents

Fixes #8548
---
 documentation/components/components-grid.asciidoc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'documentation/components/components-grid.asciidoc')

diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc
index 160b97f077..5a9cef230b 100644
--- a/documentation/components/components-grid.asciidoc
+++ b/documentation/components/components-grid.asciidoc
@@ -344,7 +344,11 @@ value with [methodname]#setWidth()#, or relatively using expand ratios with
 [methodname]#setExpandRatio()#.
 
 When using expand ratios, the columns with a non-zero expand ratio use the extra
-space remaining from other columns, in proportion to the defined ratios.
+space remaining from other columns, in proportion to the defined ratios. Do note
+that the minimum width of an expanded column by default is based on the contents
+of the column (the initially rendered rows). To allow the column to become
+narrower than this, use [methodname]#setMinimumWidthFromContent(false)#
+(introduced in 8.1).
 
 You can specify minimum and maximum widths for the expanding columns with
 [methodname]#setMinimumWidth()# and [methodname]#setMaximumWidth()#,
-- 
cgit v1.2.3

