when i set the padding value in a fieldset, the height of this fieldset shows differences between IE/FF and chrome.
Printable View
when i set the padding value in a fieldset, the height of this fieldset shows differences between IE/FF and chrome.
What Ext JS 4 version?
Ext version tested:
Browser versions tested against:
- Ext 4.1.0-gpl
Browser versions tested against:
- Firefox 8.0.1
- Chrome 18.0.1025.142 m
- IE9
Code:
renderTo: 'docbody',
- var fieldsetTestForm = Ext.create('Ext.form.Panel', {
title : 'xxxx',
height: 310,
width : 600,
bodyPadding: 10,
defaults: {
anchor: '100%',
labelWidth: 100
},
items:[{ xtype:'fieldset',
title: 'xxx',
collapsible: true,
// padding : '2 5 0 0',
defaultType: 'textfield',
layout: 'anchor',
defaults: {
anchor: '100%'
},
items :[{
fieldLabel : 'xxxx',
name : 'zgbh',
allowBlank : false
},{
fieldLabel : 'xxx',
name : 'zgno',
allowBlank : false
},{
fieldLabel : 'xx',
name : 'zgunit',
allowBlank : false
},{
fieldLabel : 'xx',
name : 'zgzy',
allowBlank : false
},{
xtype: 'datefield',
fieldLabel : 'xx',
name : 'zgdate',
format:'Y-m-d',
allowBlank : false
- }]
},{ xtype:'fieldset',
title: 'xxx',
collapsible: true,
// padding : '5 5 0 0',
defaultType: 'textfield',
layout: 'anchor',
defaults: {
anchor: '100%'
},
items :[{
fieldLabel : 'xx',
name : 'zcbh',
allowBlank : false
},{
fieldLabel : 'xxxx',
name : 'zcunit',
allowBlank : false
},{
xtype: 'datefield',
fieldLabel : 'xx',
name : 'zcdate',
format:'Y-m-d',
allowBlank : false
}]
}]
- });