Select to view content in your preferred language

Experience Builder Widget Dialog Box Width and Height

738
3
Jump to solution
07-27-2022 01:32 PM
JohnLucotch2
Frequent Contributor

Good Afternoon,

I'm trying to alter the default settings for the dialog box of a widget when it opens from the Widget Controller.  Does anybody have an idea on where this can be done either in CSS or JavaScript?

 

 

0 Kudos
1 Solution

Accepted Solutions
JohnLucotch2
Frequent Contributor

@ChrisCarter3 It's in the config.json.  Thanks for pointing me in the right direction.

View solution in original post

0 Kudos
3 Replies
ChrisCarter3
Occasional Contributor

This looks like a custom widget... for mine I found this to work.

Add an entry to the manifest.json like this:

"defaultSize": {
"width": 600,
"height": 200
}

Note that whenever you change the manifest.json, you will need to restart the client/server environments.

JohnLucotch2
Frequent Contributor
Thanks. I'm just looking at the Query Widget and it defaults to 300 by 300
in the Foldable Them.
0 Kudos
JohnLucotch2
Frequent Contributor

@ChrisCarter3 It's in the config.json.  Thanks for pointing me in the right direction.

0 Kudos