Hello,
I have a problem with ContentPanel not showing scroll bars on IE. Here is the code:
var innerLayout = new Ext.BorderLayout('innerLayout', {
north: {
autoScroll:true,
titlebar:false,
split:false,
initialSize: 30,
autoScroll:false,
fitToFrame: true,
collapsible:false,
titlebar: false,
animate: false,
closable: false,
cmargins: {top:2,bottom:0,right:0,left:0}
},
center: {
titlebar:false
}
});
var portal = innerLayout.getRegion('center');
portal.add(new Ext.ContentPanel('portalframe', {fitToFrame:true}));
In Firefox2 scroll bars are displayed, but not in IE6
portal.add(new Ext.ContentPanel('portalframe', {autoScroll:true,fitToFrame:true}));
this will remove the scroll bars from both FF2 and IE6
portal.add(new Ext.ContentPanel('portalframe', {autoScroll:false,fitToFrame:true}));
And this will have the same effect as the original code, the scroll bars are only displayed in FF.
Try to configure autoScroll:true on the panel not on the region.
8887
Allergies.. no relief?!?
Religion in the workplace? |