<?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: Resize widget (API 4.x) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/resize-widget-api-4-x/m-p/1139111#M76178</link>
    <description>&lt;P&gt;It works! thank you so much. I thought I tried that already '&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt; appreciated&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jan 2022 20:47:40 GMT</pubDate>
    <dc:creator>ZA1</dc:creator>
    <dc:date>2022-01-31T20:47:40Z</dc:date>
    <item>
      <title>Resize widget (API 4.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/resize-widget-api-4-x/m-p/1138835#M76166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;* I am struggling to &lt;STRONG&gt;resize&lt;/STRONG&gt; the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html" target="_self"&gt;editor&lt;/A&gt; widget.&lt;/P&gt;&lt;P&gt;* The &lt;STRONG&gt;Feature Selection&lt;/STRONG&gt;&amp;nbsp;window in "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-CreateWorkflowData.html" target="_self"&gt;Create&lt;/A&gt;" workflow is too small:&lt;/P&gt;&lt;P&gt;* The &lt;STRONG&gt;scroll &lt;/STRONG&gt;list for the feature layers needs to be longer, to display more features&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZA1_0-1643627630471.png" style="width: 512px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32693iB3C4B0832017BB93/image-dimensions/512x231?v=v2" width="512" height="231" role="button" title="ZA1_0-1643627630471.png" alt="ZA1_0-1643627630471.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;* These CSS classes seem to be responsible for the size of the feature selection window&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.esri-item-list"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;esri-item-list__scroller&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZA1_3-1643627845474.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32696iDEEBFA2FCF09948F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZA1_3-1643627845474.png" alt="ZA1_3-1643627845474.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZA1_4-1643627854820.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32697iE4866439A0F26223/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZA1_4-1643627854820.png" alt="ZA1_4-1643627854820.png" /&gt;&lt;/span&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However&lt;/STRONG&gt;, when I try to change the height of these elements. The height of the Feature Selection does not change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; watchUtils.when(editor, "activeWorkflow", (x) =&amp;gt; {
                if (x.type == "create") {
                    setTimeout(function(){

                        // Get html element
                        let e1 = Array.from(document.getElementsByClassName("esri-item-list"))[0];
                        let e2 = Array.from(document.getElementsByClassName("esri-item-list__scroller"))[0];

                        // Change Height
                        e1.style.height= "300px";
                        e2.style.height= "300px";
                    },500);
                }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help will be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 11:39:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/resize-widget-api-4-x/m-p/1138835#M76166</guid>
      <dc:creator>ZA1</dc:creator>
      <dc:date>2022-01-31T11:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Resize widget (API 4.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/resize-widget-api-4-x/m-p/1139032#M76176</link>
      <description>&lt;P&gt;Looked like this worked.&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.esri-ui .esri-editor .esri-item-list__scroller {
  max-height: 500px; /**whatever you want here**/
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 31 Jan 2022 18:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/resize-widget-api-4-x/m-p/1139032#M76176</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-01-31T18:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Resize widget (API 4.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/resize-widget-api-4-x/m-p/1139111#M76178</link>
      <description>&lt;P&gt;It works! thank you so much. I thought I tried that already '&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt; appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 20:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/resize-widget-api-4-x/m-p/1139111#M76178</guid>
      <dc:creator>ZA1</dc:creator>
      <dc:date>2022-01-31T20:47:40Z</dc:date>
    </item>
  </channel>
</rss>

