Hi,
I'm building an application in Arcgis JavaScript using the Webmap from the Arcgis Portal version 10.8. I'm using JS API version 4.22 and visualizing the legend from Legend widget. The legend visualizes in the form of displaying the layer name and below the layer symbol (next Line) as got from the sample used in Arcgis Forum... My requirement is to show the symbol and the Layer name in a single line. Legend Sample is attached.