<?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 ArcGIS Flex Viewer : Widget : ResizeToContent in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/arcgis-flex-viewer-widget-resizetocontent/m-p/423452#M12004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been using ArcGIS Flex Source Code 3.6 and I'm trying to resize a widget (that has a Widget template with title bar and minimize, maximize buttons) to fit to the size of the contents inside the template. The content is dynamically injected based on the selection from a couple of drop down lists. The content can grow or shrink at run time. I want the widget to resize to its contents without showing any scrollbars. Is this possible? I cannot figure out how to do this. I tried setting the width and height properties on the template as well as the widget. The borders just vanishes and the widget becomes immovable. Can anyone kindly guide me to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keith Martyn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 09:05:44 GMT</pubDate>
    <dc:creator>KeithMartyn</dc:creator>
    <dc:date>2014-04-24T09:05:44Z</dc:date>
    <item>
      <title>ArcGIS Flex Viewer : Widget : ResizeToContent</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/arcgis-flex-viewer-widget-resizetocontent/m-p/423452#M12004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been using ArcGIS Flex Source Code 3.6 and I'm trying to resize a widget (that has a Widget template with title bar and minimize, maximize buttons) to fit to the size of the contents inside the template. The content is dynamically injected based on the selection from a couple of drop down lists. The content can grow or shrink at run time. I want the widget to resize to its contents without showing any scrollbars. Is this possible? I cannot figure out how to do this. I tried setting the width and height properties on the template as well as the widget. The borders just vanishes and the widget becomes immovable. Can anyone kindly guide me to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keith Martyn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 09:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/arcgis-flex-viewer-widget-resizetocontent/m-p/423452#M12004</guid>
      <dc:creator>KeithMartyn</dc:creator>
      <dc:date>2014-04-24T09:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Flex Viewer : Widget : ResizeToContent</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/arcgis-flex-viewer-widget-resizetocontent/m-p/423453#M12005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Keith,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; This how I do it in some of my widgets:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;wTemplate.widgetWidth = wTemplate.width = 530;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wTemplate.widgetHeight = wTemplate.height = 335;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:07:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/arcgis-flex-viewer-widget-resizetocontent/m-p/423453#M12005</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T19:07:38Z</dc:date>
    </item>
  </channel>
</rss>

