Hey,
I'm currently using the Tab panel's setTabBarPosition() function to move the tab bar from left to right and vice versa as the code below shows:
Code:
mainNavChange: function(container, newvalue, oldvalue, options){
switch(newvalue.xtype){
case 'playerspanel':{
this.getMain().setTabBarPosition('right');
break;
}
case 'carspanel':{
this.getMain().setTabBarPosition('right');
break;
}
case 'infopanel': {
this.getMain().setTabBarPosition('right');
console.log('Setings panel hit!');
break;
}
default:{
this.getMain().setTabBarPosition('left');
break;
}
}
},
This code is sitting inside the Main.js controller of the app.
Thanks,
Matt