PDA

View Full Version : Progress bar in FormPanel tbar problem



Air_Mike
14 Jul 2009, 9:25 AM
Hello,

I have some issue with adding progressbar to form panel's tbar.

There were no error in Ext 2.2.1, but today I'm trying to migrate to Ext. 3.0 and on first step I got an error :(

I'm adding progress bar like this:



...
tbar: new Ext.ProgressBar({
id: 'progressBar',
text: '',
animate: true,
cls:'left-align'
})
...


I'm getting error: a.doLayout() is not a function

What should I do?

Thank you...

jay@moduscreate.com
16 Jul 2009, 2:29 AM
try



tbar: [new Ext.ProgressBar({
id: 'progressBar',
text: '',
width : 100,
animate: true,
cls:'left-align'
})]

Air_Mike
16 Jul 2009, 2:40 AM
Thank You, that worked :">