You found a bug! We've classified it as
EXTJS-15401 .
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.Multiline display field overlapping
Multiline display field overlapping
This simple example works fine in Ext JS 4, but not in Ext JS 5.
Fiddle example:
http://ift.tt/1oMYH7rThe large label is overlapping with the field bellow.
Code:
Ext.application({
name: 'Fiddle',
launch: function() {
Ext.create('Ext.form.FormPanel', {
title: 'Display feild Test',
bodyPadding: 5,
width: 350,
renderTo: Ext.getBody(),
items: [{
xtype: 'displayfield',
fieldLabel: 'Sample Text 1',
value: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'
}, {
xtype: 'displayfield',
fieldLabel: 'Sample Text 2',
value: 'Simple text 2'
}]
});
}
});
[OPEN] Multiline display field overlapping
Aucun commentaire:
Enregistrer un commentaire