在IE8中调整浏览器大小时,EXTJS控制获取剪辑

时间:2012-06-25 17:12:51

标签: internet-explorer extjs

在IE8中调整浏览器大小时,我的搜索按钮和时间范围会被剪切。有人有意见吗?感谢

调整大小之前: https://picasaweb.google.com/lh/photo/XHZFjNdbeuJBNeGvJeC7vtMTjNZETYmyPJy0liipFm0?feat=directlink

调整大小后: https://picasaweb.google.com/lh/photo/8ea70qzSUIq5uBX9HWbF39MTjNZETYmyPJy0liipFm0?feat=directlink

以下是我的代码:

this.searchPanel = new Ext.Panel({
    id: 'search-panel',
    margins: '5 5 5 5',
    layout: 'card',
    activeItem: (this.DEFAULT == 'advanced') ? 1 : 0,
    region:'north',
    split: true,
    frame: true,
    title: i18n('search'),
    collapsible: true,
    titleCollapse: false,
    toolTemplate: searchToolTpl,
    tools:[ searchToggleTool ],
    bodyStyle: 'padding:3px 0 0',
    items: [ this.basicSearchForm, this.advancedSearchForm ],
    monitorResize:true
});


this.on('resize', function(){
    //console.log('search panel resized, manualMode: +this.manualMode);
    if(this.manualMode){
        //resized by a drag of splitter
        //what's the docclass
        var currentDocClass = docclass.selectedDocClass.replace('=','');
        this.createCookie('advHeight'+currentDocClass, this.getHeight(), 30);
        this.manualMode = false;//reset mode
    }
});  

0 个答案:

没有答案