PDA

View Full Version : Bottom toolbar problem



boston-george
29 Dec 2011, 1:18 AM
Hi guys!

i'um using a top toolbar and bootom toolbar into a panel like this:



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();
}
}
]
}
]
});


the problem is BOTTOM TOOLBAR not appears!!
it appears only after i move my tablet!!

how can i solve it?
i need that it appears after panel render!

thanks!

yagi
29 Dec 2011, 10:05 AM
I'm also facing the same problem on galaxy tab, when I rotate it to landscape, the bottom toolbar is missing.
Try to rotate your screen, if it appears, I think it is some kind of orientation problem.

I haven't got any solutions for this :(

boston-george
3 Jan 2012, 8:05 AM
how can we solve it?

yagi
3 Jan 2012, 5:32 PM
how can we solve it?

Hmm.., I haven't got any solutions for this..
As my alternative, I removed the toolbar bottom and I placed the button in the items config of the formPanel.