PDA

View Full Version : Portal Demo: Horizontal scrollbar appears in explorer 8



Dr. Flink
12 Oct 2009, 1:23 PM
If you place a whole lot of portlets in one column, then a vertical scrollbar appears correctly inside of center. But in explorer (at least in IE8), this is making the horizontal scrollbar also to appear.

I have tried using doLayout() but this doesn't work.
Any suggestions?

Thanks!

Dr. Flink
15 Oct 2009, 4:17 AM
*bump*

niaz
30 Oct 2009, 8:17 AM
I see the same issue. Any help would be great

Dr. Flink
30 Oct 2009, 4:24 PM
I found the error here:
ext-all-debug.js from line 18445, error line is 18472 (or inside Ext.Element.getStyleSize()):


Ext.layout.ColumnLayout = Ext.extend(Ext.layout.ContainerLayout, {
...
...
// private
onLayout : function(ct, target){
...
...
var size = Ext.isIE && target.dom != Ext.getBody().dom ? target.getStyleSize() : target.getViewSize();
...
...
}
...
...
});
target.getViewSize() returns the correct width also for explorer. Scrollbar is correctly included to calculation.
target.getStyleSize() do NOT include the scrollbar!

Please, could someone from the Ext team take a look?