[mapguide-commits] r7909 - trunk/MgDev/Web/src/viewerfiles
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Nov 7 03:50:12 PST 2013
Author: jng
Date: 2013-11-07 03:50:12 -0800 (Thu, 07 Nov 2013)
New Revision: 7909
Modified:
trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
#2376: Fix legend pane not doing layout properly in Chrome. Patch by Gabriele Monfardini. Reviewed by me.
Modified: trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2013-11-07 11:42:02 UTC (rev 7908)
+++ trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2013-11-07 11:50:12 UTC (rev 7909)
@@ -1634,6 +1634,8 @@
lh = wh - y;
legendCtrl.style.height = lh + "px";
legendCtrlDiv.style.height = lh + "px";
+ legendCtrlDiv.style.width = infoWidth + "px";
+ legendCtrl.style.width = (infoWidth-1) + "px";
if(infoWidth >= 20)
legendCtrlDiv.style.visibility = "visible";
y += lh;
More information about the mapguide-commits
mailing list