/** * @class Ext.layout.Center * @extend Ext.layout.Auto * @alias layout.center * This layout is used to center contents within a container. * * Example usage: * * // The content component is centered inside the panel * * var p = Ext.create('Ext.Panel', { * title: 'Center Layout', * layout: 'center', * height: 200, * width: 200, * items: [{ * title: 'Centered Content', * width: '75%', * height: '75%', * html: 'Some content' * }] * }); */