I cannot seem to find where to change the size of the popup widget. Can someone direct me to the right location.
It is just a tad to small.
Solved! Go to Solution.
Larry,
The code you provided almost worked.
Now the popup content extends past the rest of the popup.
EDIT.
I found it:
query('.sizer', this.map.infoWindow.domNode).style({ width: '400px' });
This changes the edit popup but not the other ones.
Stan,
This works for all my popups except the edit widget.
Thank you
Rickey,
I've had some issues with the infoWindow.resize(), but I can't remember the details. An alternate approach is:
query('.contentPane', this.map.infoWindow.domNode).style({ width: '400px' });
Larry
Larry,
The code you provided almost worked.
Now the popup content extends past the rest of the popup.
EDIT.
I found it:
query('.sizer', this.map.infoWindow.domNode).style({ width: '400px' });
This changes the edit popup but not the other ones.
Hi Rickey,
Again, thanks for the heads up on this discussion. Where do I make this change? And were you able to solve the header sizing issue compared to the rest of the popup?
Thanks,
Brandon
Brandon,
In the widget.js for the edit widget is where I entered this code: (line 223)
query('.sizer', this.map.infoWindow.domNode).style({ width: '400px' });
Yes i was able to resolve the issue by changing to .sizer
This only works in the edit popup though. I am not 100% sure how to apply to all.
The code Above changed all the popups but the one below did not :
query('.contentPane', this.map.infoWindow.domNode).style({ width: '400px' });
Does this work for WAB 1.2? If i use '.sizer' it doesn't work at all, if I use '.contentPane' it works (not quite right as described above).
I figured it out by looking at this thread. I'm pretty much lost when it comes to code so I had no clue where to put the solution (Iine 267 BTW). Thanks for the help!
Jason,
Sorry I was out of the office the last two days.
I am glad you got it to work.