<?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: Modifying panel height results in incorrect position on mobile devices in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848768#M10640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maxime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; OK, looking at the Panel.js code yes the height position is ignored. So you would have to change the code in the Panel.js file to fix that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2019 15:37:18 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-08-29T15:37:18Z</dc:date>
    <item>
      <title>Modifying panel height results in incorrect position on mobile devices</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848762#M10634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to reduce the height of a widget panel. I did so using a css like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#My_Widget_panel {&lt;/P&gt;&lt;P&gt;&amp;nbsp; height: 290px !important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I open the app on a mobile, the panel is not positioned a the the bottom of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to position the panel correctly on mobile device?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:39:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848762#M10634</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2019-08-29T14:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying panel height results in incorrect position on mobile devices</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848763#M10635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maxime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Don't adjust the panels height using css. Instead do the height adjustment in code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848763#M10635</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-08-29T14:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying panel height results in incorrect position on mobile devices</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848764#M10636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found another of your answers that use the following code in the startup:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var panel = this.getPanel();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pos = panel.position;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pos.height = 290;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; panel.setPosition(pos);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; panel.panelManager.normalizePanel(panel);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is no effect in my app. I also tryed using the resize method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var panel = this.getPanel();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; panel.resize(290, 290);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But no effect neither. Any suggestion? Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848764#M10636</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2019-08-29T15:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying panel height results in incorrect position on mobile devices</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848765#M10637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maxime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Does&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;this.getPanel() return an object or is it null?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848765#M10637</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-08-29T15:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying panel height results in incorrect position on mobile devices</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848766#M10638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it returns the widget panel object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if it's related to my problem, but the widget is not a widgetOnScreen, it's a widget with a button embedded in the header, so in the config.json, it is in the widgetPool property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848766#M10638</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2019-08-29T15:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying panel height results in incorrect position on mobile devices</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848767#M10639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a "themes/FoldableTheme/panels/FoldablePanel/Panel"&lt;/P&gt;&lt;P&gt;It seems the only position that affect the height is the bottom position. Height and width have not effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:31:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848767#M10639</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2019-08-29T15:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying panel height results in incorrect position on mobile devices</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848768#M10640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maxime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; OK, looking at the Panel.js code yes the height position is ignored. So you would have to change the code in the Panel.js file to fix that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:37:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modifying-panel-height-results-in-incorrect/m-p/848768#M10640</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-08-29T15:37:18Z</dc:date>
    </item>
  </channel>
</rss>

