<?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: Set default  size of widget windows within widget Controller in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1291242#M7012</link>
    <description>&lt;P&gt;As far as, I can tell it is not possible and it really should be. Or at least the widget controller modal should honor the default size of the widget in its config file, but unfortunately the widget controller overwrites this with inline css.&lt;/P&gt;&lt;P&gt;Yesterday, I came up with a work-around, but it incorporates several React anti-patterns: directly altering the DOM and children altering parents. I think it's harmless in this case, but it may have some unintended side-effects.&lt;/P&gt;&lt;P&gt;1. Copy the widget you want to change the size of into your custom widgets folder.&lt;/P&gt;&lt;P&gt;2. In the manifest.json of that widget, add a jQuery CDN as a dependency.&lt;/P&gt;&lt;P&gt;3. Add a class to the top div of your widget.&lt;/P&gt;&lt;P&gt;4. Inside a useEffect function that loads when the widget starts add&amp;nbsp;&lt;/P&gt;&lt;P&gt;$('.your-class').parents('.single-widget-launcher').addClass('your-class-two')&lt;/P&gt;&lt;P&gt;I'm using a single widget launcher, if you are using multi-widget, this will need to find the right class name for that.&lt;/P&gt;&lt;P&gt;5. Add a css file and adjust the size of the widget in .your-class-two&amp;nbsp;&lt;/P&gt;&lt;P&gt;(You will need to mark your css with !important to override the inline css that the widget controller uses.)&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 19:25:57 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2023-05-19T19:25:57Z</dc:date>
    <item>
      <title>Set default  size of widget windows within widget Controller</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1291220#M7009</link>
      <description>&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;I'm trying to make an experience using widgets in a widget controller widget.&lt;/P&gt;&lt;P&gt;Unfortunately, widgets within the controller seem to be unable to have their sizes set, meaning that you have to manually resize them whenever you open them, or scroll down. This is kind of awful.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I was wondering if there was a way to set default sizes like you can when they're not in a widget controller?&lt;/STRONG&gt;&lt;/P&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="AlfredBaldenweck_0-1684521501610.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71189iB231C98345E1AB83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredBaldenweck_0-1684521501610.png" alt="AlfredBaldenweck_0-1684521501610.png" /&gt;&lt;/span&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;Print widget inside controller&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_1-1684521522853.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71190iDB516C55179B9861/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredBaldenweck_1-1684521522853.png" alt="AlfredBaldenweck_1-1684521522853.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;Style page of print widget inside controller&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_2-1684521561737.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71191i49646DF91E7EE7C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredBaldenweck_2-1684521561737.png" alt="AlfredBaldenweck_2-1684521561737.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;Style page of print widget outside of controller.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 18:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1291220#M7009</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2023-05-19T18:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set default  size of widget windows within widget Controller</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1291242#M7012</link>
      <description>&lt;P&gt;As far as, I can tell it is not possible and it really should be. Or at least the widget controller modal should honor the default size of the widget in its config file, but unfortunately the widget controller overwrites this with inline css.&lt;/P&gt;&lt;P&gt;Yesterday, I came up with a work-around, but it incorporates several React anti-patterns: directly altering the DOM and children altering parents. I think it's harmless in this case, but it may have some unintended side-effects.&lt;/P&gt;&lt;P&gt;1. Copy the widget you want to change the size of into your custom widgets folder.&lt;/P&gt;&lt;P&gt;2. In the manifest.json of that widget, add a jQuery CDN as a dependency.&lt;/P&gt;&lt;P&gt;3. Add a class to the top div of your widget.&lt;/P&gt;&lt;P&gt;4. Inside a useEffect function that loads when the widget starts add&amp;nbsp;&lt;/P&gt;&lt;P&gt;$('.your-class').parents('.single-widget-launcher').addClass('your-class-two')&lt;/P&gt;&lt;P&gt;I'm using a single widget launcher, if you are using multi-widget, this will need to find the right class name for that.&lt;/P&gt;&lt;P&gt;5. Add a css file and adjust the size of the widget in .your-class-two&amp;nbsp;&lt;/P&gt;&lt;P&gt;(You will need to mark your css with !important to override the inline css that the widget controller uses.)&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 19:25:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1291242#M7012</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2023-05-19T19:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set default  size of widget windows within widget Controller</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1291505#M7015</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/458875"&gt;@AlfredBaldenweck&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try using resizable tool on the bottom left corner of the widget panel to resize, and save the app. Panel size can be remembered, but not for the position at the moment.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1291505#M7015</guid>
      <dc:creator>Shen_Zhang</dc:creator>
      <dc:date>2023-05-22T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set default  size of widget windows within widget Controller</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1292025#M7040</link>
      <description>&lt;P&gt;Well, that does in fact work. Thank you.&lt;/P&gt;&lt;P&gt;Still weird that you can't set it from the Style page, too.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 12:27:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1292025#M7040</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2023-05-23T12:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set default  size of widget windows within widget Controller</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1577518#M17014</link>
      <description>&lt;P&gt;EDIT: Nevermind this, I was being a goober and trying to resize it in live view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642760"&gt;@Shen_Zhang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not seeing this behavior with my legend widget contained in a widget controller. I resize the widget to my desired dimensions while editing, save, then preview. In the preview/published item, the widget does not honor the panel size I set, and instead becomes quite larger, so as to completely hide the resizable tool beneath my taskbar (or completely outside the screen when taskbar is hidden). I have to manually fullscreen the experience with keyboard shortcuts just to see the resizable tool. I would prefer for end users to not have to do this.&lt;/P&gt;&lt;P&gt;Is there a way to circumvent this behavior?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 19:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1577518#M17014</guid>
      <dc:creator>JoshBerna</dc:creator>
      <dc:date>2025-01-21T19:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set default  size of widget windows within widget Controller</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1690441#M22807</link>
      <description>&lt;P&gt;Hope this is related to what everyone needs help with:&lt;/P&gt;&lt;P&gt;To resize a widget in a widget controller:&lt;/P&gt;&lt;P&gt;1.) Click the Widget Controller&lt;/P&gt;&lt;P&gt;2.) Under the "Appearance" section of the Content tab of the Widget Controller settings, change the Size to "Custom".&lt;/P&gt;&lt;P&gt;3.) Increase/Decrease the&amp;nbsp;&lt;EM&gt;Icon Size&lt;/EM&gt; as desired. Button Size/Spacing seem to be very similar to each other and can be modified after you set the right size of your icons (be sure to modify the Widget Controller size in your page to give your self the room to play with the sizes.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 14:08:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/set-default-size-of-widget-windows-within-widget/m-p/1690441#M22807</guid>
      <dc:creator>JoshConrad1</dc:creator>
      <dc:date>2026-03-13T14:08:46Z</dc:date>
    </item>
  </channel>
</rss>

