<div class="gmail_quote"><div class="Ih2E3d">Ah, ok. Try this:<br><br> popup.autoSize = true;<br><br>some place after initializing the popup and before adding it to the map (like line 126), and pass null to the popup constructor instead of new OpenLayers.Size(200,200).<br>
<br>What's going on is that autoSize is a boolean property of popups that gets checked by the popup code when the popup is rendered. It's an API property, so it's kosher to set it directly. What's weird is that unlike most OpenLayers classes, Popups don't take an options argument that would let you set in on initialization.<br>
<br>Hope that helps.<br><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">thanks for any input.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Ancored-Popup-Autosize-troubles-tp2221855p2233062.html" target="_blank">http://n2.nabble.com/Ancored-Popup-Autosize-troubles-tp2221855p2233062.html</a><br>
</font><div><div></div><div class="Wj3C7c">Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sebastian Benthall<br>OpenGeo - <a href="http://opengeo.org">http://opengeo.org</a><br>