PDA

View Full Version : Panel spacing



louiscooper
23 Apr 2012, 7:49 AM
Why is spacing so strange between panels?
If you add more panels, you'll see inconsistant spacing.


items: [
{
id: 'panel1',
xtype: 'panel',
title: "Panel 1",
items: [{
id : 'mac',
xtype : 'displayfield',
fieldLabel : "displayfield 1",
labelWidth : 150,
labelAlign : 'right'
}]
},
{
id: 'panel2',
xtype: 'panel',
title: "Panel 2",
items: [{
id : 'mac',
xtype : 'displayfield',
fieldLabel : "displayfield 2",
labelWidth : 150,
labelAlign : 'right'
}]
}
]

scottmartin
23 Apr 2012, 8:40 AM
What is the layout of your parent container? Can you provide an image of what you are seeing?

Regards,
Scott.