[mapguide-commits] r7908 - branches/2.5/MgDev/Web/src/viewerfiles
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Nov 7 03:42:03 PST 2013
Author: jng
Date: 2013-11-07 03:42:02 -0800 (Thu, 07 Nov 2013)
New Revision: 7908
Modified:
branches/2.5/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: branches/2.5/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- branches/2.5/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2013-11-07 10:55:53 UTC (rev 7907)
+++ branches/2.5/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2013-11-07 11:42:02 UTC (rev 7908)
@@ -1625,6 +1625,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