[Lada-commits] [PATCH 2 of 7] Added layout to the Viewport (root panel) to fix some layout issues

Wald Commits scm-commit at wald.intevation.org
Fri Nov 8 12:48:33 CET 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1383910318 -3600
# Node ID 2ff236e5d2d0d4910cfcd5606c59a0ae479493a5
# Parent  9c44ce52a33c22f6aee8f8af0c30e0621f2273a4
Added layout to the Viewport (root panel) to fix some layout issues.

diff -r 9c44ce52a33c -r 2ff236e5d2d0 app/view/Viewport.js
--- 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",


More information about the Lada-commits mailing list