[英]left justify text in an extjs4 tbar button
我有以下tbar物品。 我試圖將按鈕內的文本左對齊。 但是我做不到。 有什么建議么?
{
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';
}
}
]
}
textAlign:字符串
這就是我上面為獲得解決方案所做的
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.