My widget buttons 1 and 2 are overlapping each other in WAB (Image below). How do I fix this in the code?
Thanks
Attached image?...
Hmmm...I've attached now
Joe,
Sorry you have cropped you image down so far I can not tell what the on screen widget placeholder is overlapping.
That huge gap between buttons is my problem. Button 1 and 2 are on top of each other where the swap icon is. I can only have 3 widgets
Joe,
post your main config.json
Joe,
So it looks like you have been making some manual edits to your config.json.
Here is the onscreen widget placeholder section fixed.
{
"position": {
"left": 55,
"top": 45,
"relativeTo": "map"
},
"placeholderIndex": 1,
"id": "_25",
"version": "2.8",
"closeable": true,
"uri": "widgets/LayerToggleButton/Widget",
"name": "LayerToggleButton",
"icon": "configs\\LayerToggleButton\\icon__25.png",
"config": "configs/LayerToggleButton/config__25.json"
},
{
"position": {
"left": 105,
"top": 45,
"relativeTo": "map"
},
"placeholderIndex": 1,
"id": "_26",
"version": "2.8",
"closeable": true,
"uri": ""
},
{
"position": {
"left": 155,
"top": 45,
"relativeTo": "map"
},
"placeholderIndex": 1,
"id": "_27",
"name": "Query",
"label": "Query requests by tenant",
"version": "2.8",
"closeable": true,
"uri": "widgets/Query/Widget",
"config": "configs/Query/config__27.json"
},
{
"position": {
"left": 205,
"top": 45,
"relativeTo": "map"
},
"placeholderIndex": 1,
"id": "_28",
"name": "Query",
"label": "Query request type",
"version": "2.8",
"closeable": true,
"uri": "widgets/Query/Widget",
"config": "configs/Query/config__28.json"
},
Robert,
I am having this exact issue in Enterprise Portal WAB and have not changed the config file. Is there a way to fix this without editing the config.json file ( too nervous!) see below left where two icons are on top of each other.
Thanks for your time!
Beth
There is not a way that I am aware of beside editing the config.json