jeudi 3 juillet 2014

anchor layout unable to hadle extra space

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