summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorArtur <artur@vaadin.com>2017-05-30 16:24:58 +0300
committerIlia Motornyi <elmot@vaadin.com>2017-05-30 16:24:58 +0300
commit39846ae08337d55a24d3d90a6350f8e565a5c27f (patch)
tree5b77ba5236e440f7f79990b5e1372188681338a8 /shared
parent2b9bcc62cfa0ee1d4f5da915190a8f03f076037c (diff)
downloadvaadin-framework-39846ae08337d55a24d3d90a6350f8e565a5c27f.tar.gz
vaadin-framework-39846ae08337d55a24d3d90a6350f8e565a5c27f.zip
Allow grid columns to optionally shrink to be narrower than contents
Fixes #8548
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java
index 40167ea061..230db387ff 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java
@@ -64,5 +64,9 @@ public class ColumnState extends AbstractGridExtensionState {
public boolean resizable = true;
public Connector renderer;
+ /**
+ * Whether the contents define the minimum width for this column.
+ */
+ public boolean minimumWidthFromContent = true;
}