diff options
author | Juuso Valli <juuso@vaadin.com> | 2014-04-24 15:43:25 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-04-28 12:46:13 +0000 |
commit | 813559e82a8093bd21fb0399f3d9b1654472e466 (patch) | |
tree | dad0b4b1ae31d9ecd8e24d07b36e2faf6be7a7b6 /client | |
parent | 9768fa59bcd056ca6644f01e61eb5937d60249c3 (diff) | |
download | vaadin-framework-813559e82a8093bd21fb0399f3d9b1654472e466.tar.gz vaadin-framework-813559e82a8093bd21fb0399f3d9b1654472e466.zip |
Fix Table width calculation when adding the first item (#13592)
Change-Id: I328dd83cac0cc6ba08fa32a1227f10ece9b52d6f
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VScrollTable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java index b2ba590d8e..6f575ca1c0 100644 --- a/client/src/com/vaadin/client/ui/VScrollTable.java +++ b/client/src/com/vaadin/client/ui/VScrollTable.java @@ -4271,7 +4271,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets, } if (col.hasAttribute("width")) { - if (scrollBody == null) { + if (scrollBody == null || isNewBody) { // Already updated by setColWidth called from // TableHeads.updateCellsFromUIDL in case of a server // side resize |