[OpenLayers-Commits] r11362 - in sandbox/bartvde/sencha/openlayers/examples: . img

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Feb 23 12:10:34 EST 2011


Author: bartvde
Date: 2011-02-23 09:10:34 -0800 (Wed, 23 Feb 2011)
New Revision: 11362

Added:
   sandbox/bartvde/sencha/openlayers/examples/img/list.png
Modified:
   sandbox/bartvde/sencha/openlayers/examples/mobile-sencha.html
Log:
layerswitcher gets an icon instead of text

Added: sandbox/bartvde/sencha/openlayers/examples/img/list.png
===================================================================
(Binary files differ)


Property changes on: sandbox/bartvde/sencha/openlayers/examples/img/list.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: sandbox/bartvde/sencha/openlayers/examples/mobile-sencha.html
===================================================================
--- sandbox/bartvde/sencha/openlayers/examples/mobile-sencha.html	2011-02-23 17:08:02 UTC (rev 11361)
+++ sandbox/bartvde/sencha/openlayers/examples/mobile-sencha.html	2011-02-23 17:10:34 UTC (rev 11362)
@@ -17,6 +17,9 @@
             img.minus {
                 -webkit-mask-image: url(img/minus1.png);
             }
+            img.layers {
+                -webkit-mask-image: url(img/list.png);
+            }
             .gx-layer-item {
                 margin-left: 10px;
             }
@@ -78,7 +81,8 @@
                         }, {
                             xtype: "spacer"
                         }, {
-                            text: "Layers",
+                            iconMask: true,
+                            iconCls: "layers",
                             handler: function() {
                                 if (!this.popup) {
                                     this.popup = new Ext.Panel({



More information about the Commits mailing list