changeset 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 06da8faa2806
children a8efc4b96888
files app/view/Viewport.js
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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);
+    }
+});

http://lada.wald.intevation.org