首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

extjs TabPanel 多行题目

2013-04-20 
extjs TabPanel 多行标题adjustBodyWidth : function(w){if(this.header){this.header.setWidth(w)}if(th

extjs TabPanel 多行标题
adjustBodyWidth : function(w){ if(this.header){ this.header.setWidth(w); } if(this.footer){ this.footer.setWidth(w); } return w; },

?为

adjustBodyWidth : function(w){        if(this.header){            this.header.setWidth(w);        }        if(this.footer){            this.footer.setWidth(w);        }   if(this.strip){            this.strip.setWidth(w);        }        return w;    },

?即可,此时enableTabScroll应该为false,但会发现样式不好看,需要自己调整。

热点排行