PDA

View Full Version : [OPEN] TabBar tab position center



JanLoesbrock
3 Nov 2011, 7:08 AM
Ext version tested:

Sencha Touch 2 PR1
Browser versions tested against:

Chrome 15
Description:

unable to set the 'layout.pack' from a tabbar in a tabpanel, always used left or center
Test Case:
{ xtype : 'tabpanel',
tabBar : {
layout: {
type : 'hbox',
align: 'middle',
pack : 'center'
},
},
items : [{
xtype : 'einzelbeobachtungenmap'
},{
xtype : 'einzelbeobachtungenlist'
}
]
}

Possible fix:

modify doSetDocked-methode in 'Ext.tab.Bar'
Operating System:

Linux (Ubuntu)

Jamie Avins
3 Nov 2011, 8:56 AM
Thank you for the report.

arbarrett
30 Dec 2011, 6:14 PM
This bug (being unable to center a tabbar) seems to also exists in extjs 4.0.7 and 4.1.0 beta 1, not just sencha touch.