summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorSara Seppola <sara@vaadin.com>2014-10-28 16:42:35 +0200
committerVaadin Code Review <review@vaadin.com>2014-10-29 15:37:43 +0000
commit7237b88645a27b157bc85d62292dc93faddd19f9 (patch)
tree31404f96d2b1379b8b857dc030dde97a21a7a464 /client
parentf7aac96eeba4c2731d2188f7fe93068ff44ed2f7 (diff)
downloadvaadin-framework-7237b88645a27b157bc85d62292dc93faddd19f9.tar.gz
vaadin-framework-7237b88645a27b157bc85d62292dc93faddd19f9.zip
Table column width can be changed from defined to expandratio (#15101)
Change-Id: I8dead7fd77b44c8adc5e973f29d5e14bae6fb293
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VScrollTable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java
index 42fef9f0c0..9c02d30a04 100644
--- a/client/src/com/vaadin/client/ui/VScrollTable.java
+++ b/client/src/com/vaadin/client/ui/VScrollTable.java
@@ -3630,6 +3630,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
c.setWidth(widthWithoutAddedIndent, true);
}
} else if (col.hasAttribute("er")) {
+ c.setUndefinedWidth();
c.setExpandRatio(col.getFloatAttribute("er"));
} else if (recalcWidths) {