chen4w
1 Jun 2007, 1:40 AM
It work well in firefox, but in IE6 toolbar background missing,
it appears when the layout contains more than one ContentPanel.
I used the example ext\examples\layout\complex.html
just add a toolbar in a ContentPanel.
code:
var simpleToolbar = new Ext.Toolbar('tb_div');
simpleToolbar.addButton({
text: 'Scroll Bottom', cls: 'x-btn-text-icon', handler: function(o, e) {
}
});
...
layout.add('center', new Ext.ContentPanel('center1', {title: 'Close Me', closable: true, toolbar: simpleToolbar}));
it appears when the layout contains more than one ContentPanel.
I used the example ext\examples\layout\complex.html
just add a toolbar in a ContentPanel.
code:
var simpleToolbar = new Ext.Toolbar('tb_div');
simpleToolbar.addButton({
text: 'Scroll Bottom', cls: 'x-btn-text-icon', handler: function(o, e) {
}
});
...
layout.add('center', new Ext.ContentPanel('center1', {title: 'Close Me', closable: true, toolbar: simpleToolbar}));