<?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: Position &amp;quot;relativeto&amp;quot; question in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/position-quot-relativeto-quot-question/m-p/872569#M13020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again, Robert, for bailing me out of another one. I hope with all the excellent work you have done in supporting the WAB Dev Community that Jack will at least buy you lunch one day! : )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2016 03:08:47 GMT</pubDate>
    <dc:creator>TimHayes1</dc:creator>
    <dc:date>2016-11-17T03:08:47Z</dc:date>
    <item>
      <title>Position "relativeto" question</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/position-quot-relativeto-quot-question/m-p/872567#M13018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have made 2 on-screen widgets that are located on the right side of the map window. When a user resizes their browser window or uses a smaller screen computer, these widgets shift offscreen or move towards the middle of the map window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I make sure they stay where they are at, in the same location no matter how the window is resized or the size of the computer screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code snippet from the config.json:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "position": {&lt;BR /&gt; "left": 1150,&lt;BR /&gt; "bottom": 500,&lt;BR /&gt; "relativeTo": "map"&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made 2 on-screen widgets that are located on the right side of the map window. When a user resizes their browser window or uses a smaller screen computer, these widgets shift offscreen or move towards the middle of the map window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I make sure they are always visible in the map window no matter if the browser is resized or the size of the computer screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code snippet from the config.json:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "position": {&lt;BR /&gt; "left": 1150,&lt;BR /&gt; "bottom": 500,&lt;BR /&gt; "relativeTo": "map"&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried "relativeTo": "browser" and got the same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first image is the position of the on-screen widgets in the map window when it is first opened:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="265063" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/265063_x2016-11-16_18-47-59.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I resize the browser window, the widgets disappear (actually, they are off screen and reappear when I maximize the browser window). I would like them to stay inside the window like the HomeScreen and ZoomInZoomOut Widgets, but on the opposite side of the map window:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="265067" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/265067_x2016-11-16_18-48-42.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 02:53:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/position-quot-relativeto-quot-question/m-p/872567#M13018</guid>
      <dc:creator>TimHayes1</dc:creator>
      <dc:date>2016-11-17T02:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Position "relativeto" question</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/position-quot-relativeto-quot-question/m-p/872568#M13019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tim,&lt;/SPAN&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; If you want them to stay on the right then use right in your CSS instead of left.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 03:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/position-quot-relativeto-quot-question/m-p/872568#M13019</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-17T03:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Position "relativeto" question</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/position-quot-relativeto-quot-question/m-p/872569#M13020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again, Robert, for bailing me out of another one. I hope with all the excellent work you have done in supporting the WAB Dev Community that Jack will at least buy you lunch one day! : )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 03:08:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/position-quot-relativeto-quot-question/m-p/872569#M13020</guid>
      <dc:creator>TimHayes1</dc:creator>
      <dc:date>2016-11-17T03:08:47Z</dc:date>
    </item>
  </channel>
</rss>

