I'm trying to make my widget popup a little bigger to encapsulate the streetview widget. I can't seem to find the css to modify the default window size once the widget is clicked. This is for the jewelry box theme, the search bar widgets. Thanks!
Solved! Go to Solution.
Leo,
If you are talking about the onscreen widget placeholders (i.e 1,2,3 widgets) then all you have to do is add a width and or height to the main config.json for those widgets (line 6).
{
"position": {
"left": 55,
"top": 45,
"relativeTo": "map",
"width": 200
},
"placeholderIndex": 1,
"id": "_23",
"name": "StreetView",
"label": "Google Street View",
"version": "2.0.1",
"uri": "widgets/StreetView/Widget",
"config": "configs/StreetView/config_Google Street View.json"
},
Leo,
So are you asking how to make the JewleryBox themes side panel widget larger?
Sorry should have been more specific, the attachment shows a picture of the widgets I'm referring to, I'm not sure the name of that docking location.
Leo,
If you are talking about the onscreen widget placeholders (i.e 1,2,3 widgets) then all you have to do is add a width and or height to the main config.json for those widgets (line 6).
{
"position": {
"left": 55,
"top": 45,
"relativeTo": "map",
"width": 200
},
"placeholderIndex": 1,
"id": "_23",
"name": "StreetView",
"label": "Google Street View",
"version": "2.0.1",
"uri": "widgets/StreetView/Widget",
"config": "configs/StreetView/config_Google Street View.json"
},
Many thanks!
Leo,
Don't forget to mark this question as answered by clicking on the "Correct Answer" link on the reply that answered your question.