[Mapbender-commits] r6663 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jul 30 05:36:40 EDT 2010


Author: christoph
Date: 2010-07-30 09:36:40 +0000 (Fri, 30 Jul 2010)
New Revision: 6663

Modified:
   trunk/mapbender/http/javascripts/mod_scalebar.js
Log:
set paddingBottom of scalebar

Modified: trunk/mapbender/http/javascripts/mod_scalebar.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_scalebar.js	2010-07-30 09:36:03 UTC (rev 6662)
+++ trunk/mapbender/http/javascripts/mod_scalebar.js	2010-07-30 09:36:40 UTC (rev 6663)
@@ -32,7 +32,7 @@
 var mod_scalebar_target = options.target;
 
 var mod_scalebar_left = 5;
-var mod_scalebar_bottom = 20;
+var mod_scalebar_bottom = 17;
 
 var mod_scalebar_color1 = "white";
 var mod_scalebar_color2 = "black";
@@ -104,10 +104,10 @@
 		el_top.style.position = "absolute";
 		el_top.style.top = "0px";
 		el_top.style.left = "0px";
-		el_top.style.width = "400px";
-		el_top.style.height = "20px";
+		el_top.style.width = "200px";
 		el_top.style.overflow = "hidden";
 		el_top.style.zIndex = "100";
+		el_top.style.paddingBottom = "40px";
 		el_top.id = mb_mapObj[ind].elementName+"_scalebar";
 		map_el.appendChild(el_top);
 	}



More information about the Mapbender_commits mailing list