PDA

View Full Version : FormPanel toolbar when frame is set to true?



Stju
24 Mar 2010, 5:11 PM
Is this really correct?
I think that toolbars margin should be applied only to body, not whole inner container.


Ext.onReady(function(){

var simple = new Ext.FormPanel({
labelWidth: 75,
frame:true,
title: 'Simple Form',
width: 400,
defaults: {width: 230},
defaultType: 'textfield',
bbar:new Ext.Toolbar({
items:[
{
text:'aa'
}
]
}),
tbar:new Ext.Toolbar({
items:[
{
text:'aa'
}
]
}),
items: [
{
name:'koko',
fieldLabel:'koko',
value:'test'
}
],
buttons: [{
text: 'Save'
},{
text: 'Cancel'
}]
});
simple.render(document.body);
});
Stju

mmmhhhlll
29 May 2010, 9:58 AM
i have a same question