# HG changeset patch # User Torsten Irländer # Date 1367311800 -7200 # Node ID cdcaf38eab45821850258224fd614fc76e21d4c8 # Parent 06da8faa28061c13ce1242f7a711ead60c25d371 Added Viewport class which should be used to setup the viewport. Currently not used. Should be fixed. diff -r 06da8faa2806 -r cdcaf38eab45 app/view/Viewport.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/view/Viewport.js Tue Apr 30 10:50:00 2013 +0200 @@ -0,0 +1,18 @@ +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); + } +});