PDA

View Full Version : problem in toolbar layout rendering



ashkan
21 Jul 2010, 11:24 PM
hi all

i wrote this codes :



var tb = new Ext.Toolbar({
width: 320,
layout: 'toolbar',
items: [{
xtype: 'textfield',
fieldLabel: 'Search : ',
id: 'sField',
name:'search',
anchor: '95%'
},
new Ext.Button({
text: 'Find',
width: 100,
listeners: {
'click': function () {
var sf = Ext.getCmp('sField');

showFolder('c:\\test\\', sf.getRawValue())

}
}
})]
});

tb.doLayout();

var fileManager_StatusBar = new Ext.ux.StatusBar({
defaultText: '?????...',
statusAlign: 'right',
layout: 'fit'
});


var fileManagerPanel = new Ext.Panel({
region: 'center',
margins: '2',
autoScroll: true,
contentEl: 'FileManager',
tbar: tb,
bbar: fileManager_StatusBar

});


the problem is when i putting panel in my viewport the toolbar and the status bar have problem view like this screen shot:
21570

any help?

regards:)

Animal
22 Jul 2010, 12:04 AM
With what?

BTW, you are not going to be able to access a user's local disk drive!

ashkan
22 Jul 2010, 12:43 AM
Sir

This program is running on server and calling a jquery plugin that showing folders.
plz forget that line

Animal
22 Jul 2010, 12:45 AM
OK, so help with what then?

ashkan
22 Jul 2010, 12:54 AM
As you see in the screenshot toolbar and the status bar view is not in normal view any idea?

Animal
22 Jul 2010, 12:57 AM
What do you mean "not normal"?

ashkan
22 Jul 2010, 1:00 AM
I mean the white rectangles on toolbar and status bar.

Animal
22 Jul 2010, 1:37 AM
That's just your own CSS

ashkan
22 Jul 2010, 1:57 AM
Thanks sir

I had an additional CSS file.

Thanks for your help.