PDA

View Full Version : [OPEN] [OPEN-EXTJSIV-1869]Alignment of the displayfield label and the displayfield



Qtx
27 Apr 2011, 12:40 PM
In IE, the alignment is more or less OK, but in all other browsers it is appreciably, see attachment from the example form/field-types.html

25827

ykey
6 May 2011, 1:19 PM
Ran into this today. Looks somewhat correct in IE8 but quite horrible in FF 3.6. Please fix this.

25957



var formPanel = Ext.create('Ext.form.Panel', {
frame: true,
title: 'Work Group',
width: 340,
bodyPadding: 5,
renderTo: Ext.getBody(),
fieldDefaults: {
anchor: '100%',
labelWidth: 75
},

items: [
{
xtype: 'displayfield',
name: 'firstName',
fieldLabel: 'First Name',
value: 'Billy'
},
{
xtype: 'displayfield',
name: 'lastName',
fieldLabel: 'Last Name',
value: 'Bob'
}
]
});