# HG changeset patch # User Torsten Irländer # Date 1367311750 -7200 # Node ID 06da8faa28061c13ce1242f7a711ead60c25d371 # Parent 21d7b63f8783bcd926b5bc79d86ec090250f323e Added some comment. diff -r 21d7b63f8783 -r 06da8faa2806 app.js --- a/app.js Tue Apr 30 10:48:44 2013 +0200 +++ b/app.js Tue Apr 30 10:49:10 2013 +0200 @@ -6,8 +6,11 @@ launch: function() { // Start the application. console.log('Launching the application'); - Ext.create('Ext.container.Viewport', { - layout: 'fit', + + // This code works here, but this should usually be done in the + // Viewport.js class. + Ext.create('Ext.panel.Panel', { + renderTo: Ext.getBody(), title: 'Probenauswahlmaske', items: [ {