PDA

View Full Version : Viewport magin bug



zig999
30 May 2011, 3:23 AM
Hi all,

A viewport with only one panel in the center region doesn´t render the margins.



Ext.application({
name: 'Example',
launch: function () {
Ext.create('Ext.container.Viewport', {
layout: 'border',
items: [{
region: 'center',
title: 'Example',
html: 'My App',
margins: '5 5 5 5'
}]
});
}
});


Thanks!

Sieg