PDA

View Full Version : [FIXED] ST 2.1 TabPanel setTabBarPosition



Ekambos
7 Nov 2012, 12:45 AM
setTabBarPosition seems to have no effect in ST 2.1. This was working in 2.0 tho.


Ext.Viewport.add({
xtype : 'tabpanel',
items : [
{
xtype : 'toolbar',
docked : 'top',
items : [
{
text : 'Set To Bottom',
handler : function (btn) {
var tabpanel = btn.up('tabpanel');

tabpanel.setTabBarPosition('bottom');
}
}
]
},
{
title : 'One',
html : 'One'
}
]
});

mitchellsimoens
7 Nov 2012, 8:08 AM
Thanks for the report! I have opened a bug in our bug tracker.