PDA

View Full Version : Panel with Canvas for body pushes bbar off screen



js_coder
25 Mar 2010, 11:33 AM
In Firefox 3.0.x, the following test results in the bbar being chopped off, seemingly pushed off the screen by the canvas element. The bar is sized correctly if left as a tbar.


Ext.onReady(function() {
var layout = new Ext.Viewport({
layout: 'border',
items: [{
region: 'center',
bodyCfg: {
tag: 'canvas'
},
bbar: {
items: [{
text: 'Item'
}]
}
}]
});
});