[mapguide-users] Legend Pane Size - Chrome

Jose M. C. Marques jm at gismedia.pt
Thu Nov 7 01:09:53 PST 2013


Hi Gabriele,

I've tried this workaround and it works.

Thanks,
José Marques

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Gabriele Monfardini
Sent: quinta-feira, 7 de Novembro de 2013 08:45
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Legend Pane Size - Chrome

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/5b9b351e/attachment.html>


More information about the mapguide-users mailing list