X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/source/FitLayout.html diff --git a/docs/source/FitLayout.html b/docs/source/FitLayout.html index 2e4afcec..cced26c0 100644 --- a/docs/source/FitLayout.html +++ b/docs/source/FitLayout.html @@ -1,5 +1,6 @@ + The source code @@ -34,8 +35,7 @@ Ext.layout.FitLayout = Ext.extend(Ext.layout.ContainerLayout, { onLayout : function(ct, target){ Ext.layout.FitLayout.superclass.onLayout.call(this, ct, target); if(!this.container.collapsed){ - var sz = (Ext.isIE6 && Ext.isStrict && target.dom == document.body) ? target.getViewSize() : target.getStyleSize(); - this.setItemSize(this.activeItem || ct.items.itemAt(0), sz); + this.setItemSize(this.activeItem || ct.items.itemAt(0), target.getViewSize(true)); } },