Hi Team,
Please note the anchor property in below code .
var banner = Ext.create('Ext.Panel', {
region: 'north',
html: 'test UI',
bodyStyle:'background:blue',
anchor: '0 -20'
});
If I add just one space anchor: '0 -20' , achor layout fails to function . This is a really difficult error to find .
It will be a great feature if anchor can handle whitespaces.
Thanks !
Aucun commentaire:
Enregistrer un commentaire