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

commits at geoext.org commits at geoext.org
Tue Mar 31 00:08:32 CEST 2009


Author: sbenthall
Date: 2009-03-31 00:08:32 +0200 (Tue, 31 Mar 2009)
New Revision: 299

Modified:
   apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
right aligning toolbars


Modified: apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js	2009-03-30 22:00:07 UTC (rev 298)
+++ apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js	2009-03-30 22:08:32 UTC (rev 299)
@@ -35,11 +35,11 @@
         this.plugins = expander;
 
 
-        this.tbar = new Ext.Button({
+        this.tbar = ["->", new Ext.Button({
             text: "Add from URL",
             handler: this.addLayer,
             scope : this
-        });
+        })];
 
         this.cm = new Ext.grid.ColumnModel([
             expander,

Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-03-30 22:00:07 UTC (rev 298)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-03-30 22:08:32 UTC (rev 299)
@@ -219,15 +219,13 @@
 
         var win = new Ext.Window({
             title: "Explore Data",
-            height: 300,
-            width: 650,
             items: [
                 new CapabilitiesGrid({
                     url : this.ows,
                     mapPanel : this.mapPanel
                 })
             ],
-            bbar: [doneButton]
+            bbar: ["->",doneButton]
                 
         });
         



More information about the Commits mailing list