changeset 426:c95c9831675c

Set flex to true for the probenlist. Remove minheigt and maxheigt from panel as the size is now set automatically (flex)
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 08 Nov 2013 12:32:59 +0100
parents 2ff236e5d2d0
children 7d80feaa4a7f
files app/view/Viewport.js app/view/proben/List.js
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/Viewport.js	Fri Nov 08 12:31:58 2013 +0100
+++ b/app/view/Viewport.js	Fri Nov 08 12:32:59 2013 +0100
@@ -214,6 +214,7 @@
                 // Resultlist for the query.
                 {
                     id: 'result',
+                    flex: 1,
                     xtype: 'probenlist',
                     hidden: false
                 }
--- a/app/view/proben/List.js	Fri Nov 08 12:31:58 2013 +0100
+++ b/app/view/proben/List.js	Fri Nov 08 12:32:59 2013 +0100
@@ -7,11 +7,7 @@
     store: 'ProbenList',
     multiSelect: true,
     viewConfig: {
-        maxHeight: 350,
         emptyText: 'Keine Proben gefunden.',
-        // minHeight and deferEmptyText are needed to be able to show the
-        // emptyText message.
-        minHeight: 35,
         deferEmptyText: false
     },
     initComponent: function() {

http://lada.wald.intevation.org