comparison app/view/Viewport.js @ 425:2ff236e5d2d0

Added layout to the Viewport (root panel) to fix some layout issues.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 08 Nov 2013 12:31:58 +0100
parents cf4b6e93f956
children c95c9831675c
comparison
equal deleted inserted replaced
424:9c44ce52a33c 425:2ff236e5d2d0
10 requires: [ 10 requires: [
11 'Lada.store.Info', 11 'Lada.store.Info',
12 'Lada.view.search.List', 12 'Lada.view.search.List',
13 'Lada.view.proben.List' 13 'Lada.view.proben.List'
14 ], 14 ],
15 layout: 'fit',
15 initComponent: function() { 16 initComponent: function() {
16 console.log('Setting up Viewport'); 17 console.log('Setting up Viewport');
17 this.initSearch(); 18 this.initSearch();
18 19
19 // Development related: 20 // Development related:
145 initSearch: function() { 146 initSearch: function() {
146 this.items = [{ 147 this.items = [{
147 xtype: 'panel', 148 xtype: 'panel',
148 title: '<center>Probenauswahlmaske</center>', 149 title: '<center>Probenauswahlmaske</center>',
149 bodyPadding: '10 10', 150 bodyPadding: '10 10',
151 layout: {
152 type: 'vbox',
153 align: 'stretch'
154 },
150 dockedItems: [ 155 dockedItems: [
151 { 156 {
152 xtype: "toolbar", 157 xtype: "toolbar",
153 dock: "top", 158 dock: "top",
154 items: [{ 159 items: [{

http://lada.wald.intevation.org