标题上窜后隐藏了
调整高度解决
加入配置
tabBar: { height: 25, //tab bar高度 defaults: { height: 23 //tab 里的title的高度 } },
tabpanel
//选项卡 var tabs1 = Ext.createWidget('tabpanel', { renderTo: "tabPanel", activeTab: 1, //指定默认的活动tab width: 600, height: 120, plain: true, //True表示tab候选栏上没有背景图片(默认为false) enableTabScroll: true, //选项卡过多时,允许滚动 defaults: { autoScroll: true }, tabBar: { height: 25, //tab bar高度 defaults: { height: 23 //tab 里的title的高度 } }, items: [{ id: "indexTab", title: '首页 ', html: "欢迎使用本系统"//, //items:[{xtype:'button',text:'按钮'}], //closable: true //这个tab可以被关闭 }] });