<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Bart,<br>
<br>
I've tried to use the browser’s development tools, but detecting
what is wrong is not obvious.<br>
It happens not only in my project but as well with the very simple
examples of OL.<br>
Strange...<br>
<br>
I will apply your CSS solution, good idea.<br>
<br>
I've got another question as well, but I will open a new thread.<br>
<br>
Thanks<br>
<br>
A.<br>
<br>
<div class="moz-cite-prefix">On 14-04-28 01:59 PM, Bart van den
Eijnden wrote:<br>
</div>
<blockquote
cite="mid:7DC3601C-E7F2-46DB-B29D-6C01ED139C21@boundlessgeo.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Something is interfering with the CSS, you can probably figure it
out by using the browser’s development tools and inspecting the
layer switcher’s dom elements.
<div><br>
</div>
<div>As a workaround, you can also just add a fixed font size for
the whole div eg:</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">.olControlLayerSwitcher
{</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">
font-size: 10px;</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">}</div>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Bart</div>
<div><br>
</div>
<div>
<div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">--</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">Bart van den Eijnden<br>
Front-end Developer | Boundless<br>
@boundlessgeo</div>
</div>
<br>
<div>
<div>On 28 Apr 2014, at 18:17, Arnaud Vandecasteele <<a
moz-do-not-send="true" href="mailto:arnaud.sig@gmail.com">arnaud.sig@gmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>Hey guys,<br>
<br>
</div>
Any chance to have a hint on this problem ?<br>
</div>
I would like to keep OL 13.1 but if the problem remains,
I will have to switch for a previous version.<br>
<br>
</div>
Thanks<br>
<br>
A.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Apr 16, 2014 at 10:06 PM,
Arnaud Vandecasteele <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:arnaud.sig@gmail.com" target="_blank">arnaud.sig@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I've noticed a strange behaviour for the LayerSwitcher
since I move in 13.1.<br>
If I mix in the same time some layers from Google and
others providers (let say OSM), the size of
layerswitcher and the font size of the label change
when clicking on the Google maps layers and the
others.<br>
For example if I only select OSM, the layerswitcher is
bigger than if I have one of the Gmaps layers (tested
on Ubuntu with Chrome and Firefox).<br>
In the beginning, I thought it was a problem with my
code but I can reproduce the same behaviour using some
of the examples in the OL directory.<br>
ex : google-v3-overlays.js<br>
<br>
Just add :<br>
var osm = new OpenLayers.Layer.OSM(<br>
"OpenStreetMap",null,{<br>
visibility: false<br>
}<br>
)<br>
map.addLayers([gsat, gphy, gmap, ghyb, osm]);<br>
<br>
Do you know what could cause that?<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
<br>
Arnaud<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">--------------------------------------------------------------------<br>
Arnaud Vandecasteele<br>
SIG - WebMapping - Spatial Ontology - GeoCollaboration<br>
<br>
Web Site<br>
<a moz-do-not-send="true"
href="http://www.marinegis.com/?page_id=131"
target="_blank">http://www.marinegis.com/?page_id=131</a><br>
<a moz-do-not-send="true" href="http://geotribu.net/"
target="_blank">http://geotribu.net/</a><br>
</div>
</div>
_______________________________________________<br>
Dev mailing list<br>
<a moz-do-not-send="true" href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--------------------------------------------------------------------
Arnaud Vandecasteele
SIG - WebMapping - Spatial Ontology - GeoCollaboration
Web Site
<a class="moz-txt-link-freetext" href="http://geotribu.net/">http://geotribu.net/</a></pre>
</body>
</html>