<?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 to change the width and height of the custom widget pragmatically in launchpad theme? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776165#M2126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Robert. I want to change the size of the window after some user events( like on a button click), not on start up or from some other widget.&amp;nbsp; I tried the below line and its not giving me the expected result. Any help will be appreciated. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;this.setPosition(pos);
&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;PanelManager.getInstance().normalizePanel(this.panel); //PanelManager.getInstance().normalizePanel(this); &lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:43:17 GMT</pubDate>
    <dc:creator>MS2</dc:creator>
    <dc:date>2021-12-12T08:43:17Z</dc:date>
    <item>
      <title>how to change the width and height of the custom widget pragmatically in launchpad theme?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776163#M2124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to change the width and height of the custom&amp;nbsp; widget pragmatically in launchpad theme?. Setting in config file using position key and using the below code is not working for me. Is it a bug or am i missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var pos = {&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;&amp;nbsp; width: '600px',&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: '500px'&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;html.setStyle(&lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699; background-color: #f6f6f6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f6f6f6;"&gt;.domNode, pos);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776163#M2124</guid>
      <dc:creator>MS2</dc:creator>
      <dc:date>2021-12-12T08:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the width and height of the custom widget pragmatically in launchpad theme?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776164#M2125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mouli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; These two threads will help explain why you can not do this in the config.json like other themes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/168858"&gt;Launchpad theme and panelmanager problem&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/164884"&gt;Layer List auto start location change&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 15:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776164#M2125</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-04T15:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the width and height of the custom widget pragmatically in launchpad theme?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776165#M2126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Robert. I want to change the size of the window after some user events( like on a button click), not on start up or from some other widget.&amp;nbsp; I tried the below line and its not giving me the expected result. Any help will be appreciated. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;this.setPosition(pos);
&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;PanelManager.getInstance().normalizePanel(this.panel); //PanelManager.getInstance().normalizePanel(this); &lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776165#M2126</guid>
      <dc:creator>MS2</dc:creator>
      <dc:date>2021-12-12T08:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the width and height of the custom widget pragmatically in launchpad theme?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776166#M2127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mouli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Not knowing what the "pos" var has in it I could not say whats wrong with your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 19:34:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776166#M2127</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-10T19:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the width and height of the custom widget pragmatically in launchpad theme?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776167#M2128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"pos" variable is same as the one I mentioned in my question. check below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var pos = {&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: '600px',&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: '500px'&amp;nbsp;&amp;nbsp;&amp;nbsp; 
};
&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;.setPosition(pos);&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;PanelManager.getInstance().normalizePanel(&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;.panel); &lt;/SPAN&gt;&lt;SPAN class="comment" style="font-weight: inherit; font-style: inherit; color: #008200; font-size: 9pt !important; background-color: inherit;"&gt;//PanelManager.getInstance().normalizePanel(this); &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:43:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776167#M2128</guid>
      <dc:creator>MS2</dc:creator>
      <dc:date>2021-12-12T08:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the width and height of the custom widget pragmatically in launchpad theme?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776168#M2129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mouli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You need to re-look at the first link I provided the "pos" object need more than just width and height.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 19:42:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776168#M2129</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-10T19:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to change the width and height of the custom widget pragmatically in launchpad theme?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776169#M2130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert. It helped a lot. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 21:18:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-change-the-width-and-height-of-the-custom/m-p/776169#M2130</guid>
      <dc:creator>MS2</dc:creator>
      <dc:date>2016-02-10T21:18:46Z</dc:date>
    </item>
  </channel>
</rss>

