comparison app.js @ 11:06da8faa2806

Added some comment.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 30 Apr 2013 10:49:10 +0200
parents 21d7b63f8783
children 3eaeeec2bb28
comparison
equal deleted inserted replaced
10:21d7b63f8783 11:06da8faa2806
4 // file which sets ob the viewport. But this does not happen. 4 // file which sets ob the viewport. But this does not happen.
5 autoCreateViewprt: false, 5 autoCreateViewprt: false,
6 launch: function() { 6 launch: function() {
7 // Start the application. 7 // Start the application.
8 console.log('Launching the application'); 8 console.log('Launching the application');
9 Ext.create('Ext.container.Viewport', { 9
10 layout: 'fit', 10 // This code works here, but this should usually be done in the
11 // Viewport.js class.
12 Ext.create('Ext.panel.Panel', {
13 renderTo: Ext.getBody(),
11 title: 'Probenauswahlmaske', 14 title: 'Probenauswahlmaske',
12 items: [ 15 items: [
13 { 16 {
14 xtype: 'probenlist' 17 xtype: 'probenlist'
15 } 18 }

http://lada.wald.intevation.org