


//{namespace name=backend/order/view/magnalister/detail}
Ext.require([
    'Ext.grid.*',
    'Ext.data.*',
    'Ext.panel.*'
]);

//{block name="backend/order/view/detail/magnalister"}
Ext.define('Shopware.apps.Magnalister.view.main.Panel', {
    /**
     * Define that the additional information is an Ext.panel.Panel extension
     * @string
     */
    extend: 'Ext.form.Panel',
    autoScroll: true,
    initComponent: function() {
        me = this;
        me.items = [
            Ext.create('Ext.container.Container', {
                height: 'auto',
                minWidth: 250,
                layout: {
                    type: 'hbox',
                    align: 'stretch'
                },
                defaults: {
                    margin: '10 0'
                },
                items: [
                    Ext.create('Ext.panel.Panel', {
                        height: 'auto',
                        minWidth: 250,
                        title: this.logo,
                        bodyPadding: 10,
                        flex: 1,
                        paddingRight: 5,
                        items: [
                            {
                                xtype: 'panel',
                                html: this.magnacontent

                            }

                        ]
                    })
                ]
            })

        ];
        this.callParent(arguments);
    }
});
//{/block}