changeset 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 9c44ce52a33c
children c95c9831675c
files app/view/Viewport.js
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/Viewport.js	Fri Nov 08 09:58:54 2013 +0100
+++ b/app/view/Viewport.js	Fri Nov 08 12:31:58 2013 +0100
@@ -12,6 +12,7 @@
         'Lada.view.search.List',
         'Lada.view.proben.List'
     ],
+    layout: 'fit',
     initComponent: function() {
         console.log('Setting up Viewport');
         this.initSearch();
@@ -147,6 +148,10 @@
             xtype: 'panel',
             title: '<center>Probenauswahlmaske</center>',
             bodyPadding: '10 10',
+            layout: {
+                type: 'vbox',
+                align: 'stretch'
+            },
             dockedItems: [
                 {
                     xtype: "toolbar",

http://lada.wald.intevation.org