Hello. I would like to decrease the width of the LayerList widget. I am using WAB Developer's 2.1. I have looked at the LayerList API reference but did not find anything about width. LayerList | API Reference | ArcGIS API for JavaScript 3.18
I have attached a screenshot. Basically I would like to reduce the amount of white space between the layer names and the 3 dots. Thanks!
Thanks Robert. I tried the css way, but that didn't seem to do anything. I obtained the panel id from DevTools and added the code to my css file:
#widgets_LayerList_Widget_17_panel{width: 50px;}
I'll take a look at the startup function code though to see if that works.
Andrew,
Here is a thread where I provide a solution for that in the launchpad theme but it will work for the foldable theme as well:
https://community.esri.com/thread/181865-how-to-change-wab-widget-window-size
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.