Resizing Widget Panel within the Widget

5022
1
02-11-2015 04:45 PM
PrevinWong
New Contributor

In Web AppBuilder, using the foldable template and the demo widget.  How do you change the widget panel size? It seems to open defaultly 410x400.  It seems to be set in the app's config.json.  How do you overwrite the values within the widget itself.

0 Kudos
1 Reply
StanMcShinsky
Occasional Contributor III

Previn Wong ,

Are you trying to change the size of the panel in the widget.js file after the main config.json has loaded? To adjust the panel size on load then it is easiest to make the change in the main config.json file.

-Stan

0 Kudos