view app/view/Viewport.js @ 12:cdcaf38eab45

Added Viewport class which should be used to setup the viewport. Currently not used. Should be fixed.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 30 Apr 2013 10:50:00 +0200
parents
children f964a50bfe57
line wrap: on
line source
Ext.define('Lada.view.Viewport' ,{
    extend: 'Ext.container.Viewport',
    requires: [
        'Lada.view.Sql',
        'Lada.view.Proben'
    ],
    layout: 'fit',
    initComponent: function() {
        console.log('Setting up Viewport');
        this.items = {
            xtype: 'probenlist'
            //items: [{
            //    xtype: 'probenlist'
            //}]
        };
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org