當我在工具欄上停靠按鈕右側的邊框,它開始接觸到工具欄這樣的上緣:按鈕倒是工具欄
這裏是我的代碼:
Ext.define('MyApp.view.MyFormPanel', {
extend: 'Ext.form.Panel',
config: {
items: [
{
xtype: 'textfield',
label: 'Field'
},
{
xtype: 'textfield',
label: 'Field'
},
{
xtype: 'toolbar',
docked: 'bottom',
items: [
{
xtype: 'button',
ui: 'back',
text: 'Back'
},
{
xtype: 'button',
docked: 'right',
ui: 'forward',
text: 'Continue'
}
]
}
]
}
});
你可以發佈你的當前代碼嗎? – Eli
@ user1479606我已將代碼添加到問題中。 –