Decrease width of LayerList widget

11-21-2016 08:39 AM
Occasional Contributor II

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!

0 Kudos
2 Replies
MVP Legendary Contributor


  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: 

Occasional Contributor II

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:

width: 50px;

I'll take a look at the startup function code though to see if that works.

0 Kudos