suamikim
2 Aug 2012, 1:31 AM
Hy there,
I'm working with ExtJS 4.0.2a and i can't change the version right now but am having a problem:
Ext.onReady(function() {
Ext.create('Ext.window.Window', {
width: 500,
height: 500,
layout: "fit",
items: [{
xtype: 'panel',
id: 'testpanel',
title: 'the panel',
margin: '10'
}]
}).show();
});
Pretty simple code but the margins on the right & bottom don't appear correct as you can see on the screenshot:
37696
As soon as i use Version 4.1.0 of Ext the same code gives me a correct result:
37697
Does anybody know a workaround for this bug that i can use before i can upgrade the Ext-Version?
Thanks,
Mike
I'm working with ExtJS 4.0.2a and i can't change the version right now but am having a problem:
Ext.onReady(function() {
Ext.create('Ext.window.Window', {
width: 500,
height: 500,
layout: "fit",
items: [{
xtype: 'panel',
id: 'testpanel',
title: 'the panel',
margin: '10'
}]
}).show();
});
Pretty simple code but the margins on the right & bottom don't appear correct as you can see on the screenshot:
37696
As soon as i use Version 4.1.0 of Ext the same code gives me a correct result:
37697
Does anybody know a workaround for this bug that i can use before i can upgrade the Ext-Version?
Thanks,
Mike