[Commits] r480 - apps/opengeo/geoexplorer/trunk/lib

commits at geoext.org commits at geoext.org
Mon Apr 27 20:16:53 CEST 2009


Author: dwins
Date: 2009-04-27 20:16:53 +0200 (Mon, 27 Apr 2009)
New Revision: 480

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
Fix layout for capabilities grid, see #162


Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-04-27 18:12:28 UTC (rev 479)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-04-27 18:16:53 UTC (rev 480)
@@ -371,8 +371,9 @@
         var capGridPanel = new CapabilitiesGrid({
             store: this.capabilities,
             mapPanel : this.mapPanel,
-            height: 300,
-            width: 600,
+            layout: 'fit',
+            region: 'center',
+            autoScroll: true,
             listeners: {
                 rowdblclick: function(panel, index, evt) {
                     panel.addLayers();
@@ -383,6 +384,9 @@
         this.capGrid = new Ext.Window({
             title: "Available Layers",
             closeAction: 'hide',
+            layout: 'border',
+            height: 300,
+            width: 600,
             items: [
                 capGridPanel
             ],



More information about the Commits mailing list