0
我有一个带有一些按钮的工具栏。我想让工具栏中的按钮对齐到右侧。我怎样才能做到这一点 ?这是代码如何更改工具栏的对齐方式Ext JS
items: [{
xtype: 'toolbar',
dock: 'top',
buttonAlign: 'right', // This one does not wrok
align: 'right', // This one does neither
items: [{
text: 'Foo1'
}, {
text: 'Foo2'
}, {
text: 'Foo3'
}]
}, {
// Some other items
}]