<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I auto-size an infoWindow? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482074#M44876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Not quite what I was looking for but I found a solution;&lt;BR /&gt;&lt;BR /&gt;Basically, I set the content of the infowindow and measured the outer-most tag (in my case a table), then used these measurements with some padding to account for the rest of the dialog, to set the size of the infowindow. It also helped converting spaces in text to "&amp;nbsp;"'s.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??ve been looking for it too!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want to dynamically set the size of the infowindow based on its content data size, but i do not quite understand your solution, could you give some sample code ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jul 2010 00:29:43 GMT</pubDate>
    <dc:creator>cosophy</dc:creator>
    <dc:date>2010-07-13T00:29:43Z</dc:date>
    <item>
      <title>How do I auto-size an infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482071#M44873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hopefully someone out there as this one sused. if so, please tell me how?!!?!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 10:54:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482071#M44873</guid>
      <dc:creator>AndrewClark</dc:creator>
      <dc:date>2010-06-22T10:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-size an infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482072#M44874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if your still looking for this but this might at lest help other that are in your shoes if you found the answer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.connect(map,"onLoad", function(map) {map.infoWindow.resize(250, 100);} );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.infoWindow.resize(250,100); &amp;lt;- Her you can determine the size of your info box, Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 13:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482072#M44874</guid>
      <dc:creator>HallbjornViktorsson</dc:creator>
      <dc:date>2010-07-07T13:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-size an infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482073#M44875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not quite what I was looking for but I found a solution;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, I set the content of the infowindow and measured the outer-most tag (in my case a table), then used these measurements with some padding to account for the rest of the dialog, to set the size of the infowindow. It also helped converting spaces in text to "&amp;nbsp;"'s.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 07:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482073#M44875</guid>
      <dc:creator>AndrewClark</dc:creator>
      <dc:date>2010-07-09T07:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-size an infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482074#M44876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Not quite what I was looking for but I found a solution;&lt;BR /&gt;&lt;BR /&gt;Basically, I set the content of the infowindow and measured the outer-most tag (in my case a table), then used these measurements with some padding to account for the rest of the dialog, to set the size of the infowindow. It also helped converting spaces in text to "&amp;nbsp;"'s.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??ve been looking for it too!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want to dynamically set the size of the infowindow based on its content data size, but i do not quite understand your solution, could you give some sample code ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 00:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482074#M44876</guid>
      <dc:creator>cosophy</dc:creator>
      <dc:date>2010-07-13T00:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-size an infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482075#M44877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you content is dynamic, then use dojo.coords() function to get the dimensions of the table(dynamic content) and accordingly resize the infowindow so that the content will adjust as per the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 12:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-auto-size-an-infowindow/m-p/482075#M44877</guid>
      <dc:creator>RaviKonaparthi</dc:creator>
      <dc:date>2010-07-20T12:49:39Z</dc:date>
    </item>
  </channel>
</rss>

