0
i'um:底部工具欄不使用頂部工具欄和工具欄bootom成像這樣的面板顯示
var panel = new Ext.Panel({
fullscreen: true,
renderTo: 'pnlLogin',
layout: {
type: 'vbox',
align: 'left'
},
items:[
{
xtype: 'textfield',
flex: 1,
id: 'ioUser',
label: 'User'
},
{
xtype: 'textfield',
flex: 1,
id: 'ioPwd',
inputType: 'password',
label: 'Password'
}
],
dockedItems: [
{
dock : 'top',
xtype: 'toolbar',
title: 'Restricted Area'
},
{
dock : 'bottom',
xtype: 'toolbar',
ui: 'light',
items: [
{
text: 'Login',
ui: 'confirm-round',
handler: function(b,e){
btnLoginClick();
}
}
]
}
]
});
問題不出現底部工具欄!! 它只有在我移動我的平板電腦後纔會顯示!
我該如何解決它? 我需要它在面板渲染後出現!
謝謝!
它在同一個文件中!但我沒有執行錯誤! – 2012-01-02 10:28:24
你檢查你的控制檯是否有錯誤? – 2012-01-04 06:47:49
是的!沒有錯誤! – 2012-01-04 12:10:50