/**
* @class Roo.bootstrap.dash.TabBox
* @extends Roo.bootstrap.Component
+ * @children Roo.bootstrap.dash.TabPane
* Bootstrap TabBox class
* @cfg {String} title Title of the TabBox
* @cfg {String} icon Icon of the TabBox
});
}
- header = {
+ var h = {
tag: 'ul',
cls: 'nav nav-tabs pull-right',
cn: [
};
if(this.tabScrollable){
- header = {
+ h = {
tag: 'div',
cls: 'tab-header',
cn: [
- header
+ {
+ tag: 'ul',
+ cls: 'nav nav-tabs pull-right',
+ cn: [
+ header
+ ]
+ }
]
- }
+ };
}
var cfg = {
tag: 'div',
cls: 'nav-tabs-custom',
cn: [
- header,
+ h,
{
tag: 'div',
cls: 'tab-content no-padding',
cn: []
}
]
- }
+ };
return cfg;
},