diff options
Diffstat (limited to 'documentation/components')
-rw-r--r-- | documentation/components/components-grid.asciidoc | 6 |
1 files changed, 5 insertions, 1 deletions
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()#, |