summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJarno Rantala <jarno.rantala@vaadin.com>2013-11-04 15:21:22 +0200
committerVaadin Code Review <review@vaadin.com>2013-11-06 11:24:15 +0000
commit0d3c35b4f17814a3c146134621374a8a915f10a0 (patch)
tree324526d17cd72b4dfd87499a0c01783948fdb739 /client
parentfefedeab68461ebc04fd45f91a35835fc9026a56 (diff)
downloadvaadin-framework-0d3c35b4f17814a3c146134621374a8a915f10a0.tar.gz
vaadin-framework-0d3c35b4f17814a3c146134621374a8a915f10a0.zip
Forces redraw in IE 8 when table does post layout. (#12687)
Without forcing the redraw, IE8 measures component sizes incorrectly in some cases. Change-Id: I38e8a70e18753714b00f5ca4492749d6c84f10dc
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/table/TableConnector.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/table/TableConnector.java b/client/src/com/vaadin/client/ui/table/TableConnector.java
index 47229dc9c7..07689a640f 100644
--- a/client/src/com/vaadin/client/ui/table/TableConnector.java
+++ b/client/src/com/vaadin/client/ui/table/TableConnector.java
@@ -343,6 +343,9 @@ public class TableConnector extends AbstractHasComponentsConnector implements
Scheduler.get().scheduleFinally(new ScheduledCommand() {
@Override
public void execute() {
+ // IE8 needs some hacks to measure sizes correctly
+ Util.forceIE8Redraw(getWidget().getElement());
+
getLayoutManager().setNeedsMeasure(TableConnector.this);
ServerConnector parent = getParent();
if (parent instanceof ComponentConnector) {