I am using Extjs 4.1.1
下部にツールバーを追加したパネルがあります。このツールバーには 3 つのアイテムがあります。最初の行に最初のアイテムを配置し、次の行に 2 つのアイテムを配置します。
画像のように、上記のアイテムを赤い四角形に合わせたいと思います。私のコードは以下の通りです。
どうすればそれを行うことができますか?
私のコードはこのようなものです
dockedItems: [
{
xtype: 'toolbar',
dock: 'bottom',
height:60,
items: [
{
xtype: 'tbtext',
id:'costId',
text : "Total Cost <br> $66,000",
height : 40
},
{
xtype: 'button',
autoAlign: 'bottom',
id: 'saveButton',
text: 'Add to BOM',
handler: function() {
saveProduct();
}
},
{
xtype: 'button',
autoAlign: 'bottom',
id: 'cancelButton',
text: 'Cancel',
handler: function() {
cancel();
}
}
] }]、