Select to view content in your preferred language

Widget size in Widget Controller

125
1
07-09-2024 05:59 AM
WalaZargouni
New Contributor II

Hello, does anyone know if it's possible to change a widget's size programmatically when it's added in a Widget Controller, i tried to set the defaultSize via manifest.json but it seems to not be working.
Is there any other solution ?

0 Kudos
1 Reply
JeffreyThompson2
MVP Regular Contributor

https://community.esri.com/t5/experience-builder-tips-and-tricks/resize-a-widget-in-a-floating-panel...

Changing it programatically at runtime will be very difficult as it will try to reset at every re-render of the widget, but if you just want to change the default size. See the link above.

GIS Developer
City of Arlington, Texas