extjs4 tbar按钮中的左对齐文本
我有以下tbar项目。我试图左对齐按钮内的文本。但我不能这样做。有什么建议吗extjs4 tbar按钮中的左对齐文本,extjs4,tbar,Extjs4,Tbar,我有以下tbar项目。我试图左对齐按钮内的文本。但我不能这样做。有什么建议吗 { tbar: [ { xtype: 'button', text: 'Home',
{
tbar: [
{
xtype: 'button',
text: 'Home',
width: 120,
align:'left',
handler: function() {
document.location.href = BasePath;
}
}
]
},
{
tbar: [
{
xtype: 'button',
text: 'View Transfer Numbers',
width: 120,
handler: function() {
document.location.href =BasePath+'transfer';
}
}
]
}
text对齐:字符串
这就是我在上面所做的,以得到我的解决方案