[Lada-commits] [PATCH 3 of 7] Set flex to true for the probenlist. Remove minheigt and maxheigt from panel

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


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1383910379 -3600
# Node ID c95c9831675cafbe671b0d931520ad819cabaad0
# Parent  2ff236e5d2d0d4910cfcd5606c59a0ae479493a5
Set flex to true for the probenlist. Remove minheigt and maxheigt from panel
as the size is now set automatically (flex)

diff -r 2ff236e5d2d0 -r c95c9831675c app/view/Viewport.js
--- 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
                 }
diff -r 2ff236e5d2d0 -r c95c9831675c app/view/proben/List.js
--- 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() {


More information about the Lada-commits mailing list