Hi, During the last month I have been investigating two problems with the automatic sizing of Popups:
* Extra padding: http://jorix.github.com/OL-FeaturePopups/OL-Popup-issues/autoSize-padding-dev.html * Narrow content when displaying scroll bar: http://jorix.github.com/OL-FeaturePopups/OL-Popup-issues/popups-overflow-dev.html It has been a nightmare. After adjusting a function other problems appear, and each browser has special behaviors, but there is a big winner: IE! :-( A consequence of all this I have opened six Pull requests: https://github.com/openlayers/openlayers/pull/507 Get right size when force height or width. https://github.com/openlayers/openlayers/pull/485 Get right scrollbar width. https://github.com/openlayers/openlayers/pull/533 Using IE no parent is a object! https://github.com/openlayers/openlayers/pull/544 Extra padding. https://github.com/openlayers/openlayers/pull/565 Fractional size using IE9. https://github.com/openlayers/openlayers/pull/566 Take into account scroll bar to calculate min/max size. ... and: https://github.com/openlayers/openlayers/pull/543 To stop using manual tests for this kind of checks. Please review, thanks. Regards, Xavier -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Adjustments-on-Popups-for-proper-calculation-of-the-autosize-tp4985177.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
