[mapguide-users] Legend Pane Size - Chrome

Gabriele Monfardini gabrimonfa at gmail.com
Thu Nov 7 00:45:16 PST 2013


Hi all,

a collegue of mine found a workaround for this Chrome strange behaviour,
adding two lines in function LayoutControl() of ajaxmappane.templ

        if(isProperties)
            lh = legendHeight;
        else
            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;

Please confirm that the workaround works (we have a somewhat customized
setup) and then I'll open a bug and propose that as a workaround

Regards,

Gabriele Monfardini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20131107/a3ea80e6/attachment.html>


More information about the mapguide-users mailing list