<?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 Attribute widget initial position change in WAB 2.1 in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/attribute-widget-initial-position-change-in-wab-2/m-p/529151#M13815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In WAB 1.2 in the attribute table widget.js file i can adjust the default size of the attribute table by changing&amp;nbsp;&lt;/P&gt;&lt;P&gt;setInitialPosition: function() {&lt;BR /&gt; var h, b;&lt;BR /&gt; if (this.position.height) {&lt;BR /&gt; h = this.position.height;&lt;BR /&gt; } else {&lt;BR /&gt; h = document.body.clientHeight;&lt;BR /&gt; h = h / 5;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In WAB 2.1 it is different and i'm not sure what to change to make the default size smaller.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 23:24:23 GMT</pubDate>
    <dc:creator>ChadRicks</dc:creator>
    <dc:date>2016-09-07T23:24:23Z</dc:date>
    <item>
      <title>Attribute widget initial position change in WAB 2.1</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/attribute-widget-initial-position-change-in-wab-2/m-p/529151#M13815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In WAB 1.2 in the attribute table widget.js file i can adjust the default size of the attribute table by changing&amp;nbsp;&lt;/P&gt;&lt;P&gt;setInitialPosition: function() {&lt;BR /&gt; var h, b;&lt;BR /&gt; if (this.position.height) {&lt;BR /&gt; h = this.position.height;&lt;BR /&gt; } else {&lt;BR /&gt; h = document.body.clientHeight;&lt;BR /&gt; h = h / 5;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In WAB 2.1 it is different and i'm not sure what to change to make the default size smaller.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 23:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/attribute-widget-initial-position-change-in-wab-2/m-p/529151#M13815</guid>
      <dc:creator>ChadRicks</dc:creator>
      <dc:date>2016-09-07T23:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute widget initial position change in WAB 2.1</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/attribute-widget-initial-position-change-in-wab-2/m-p/529152#M13816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Now that calculation is in this function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _getNormalHeight&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; h &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; document&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;body&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;clientHeight&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; window&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;appInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;isRunInMobile &lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt; h &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; h &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/attribute-widget-initial-position-change-in-wab-2/m-p/529152#M13816</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T23:02:26Z</dc:date>
    </item>
  </channel>
</rss>

