<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is there a way to control the size of a Legend object? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1371818#M83386</link>
    <description>&lt;P&gt;Is there a way to control the size of a Legend object? For example, can you control the symbol size, bounding&amp;nbsp; box, or make the legend responsive in some way? Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 18:39:30 GMT</pubDate>
    <dc:creator>Josh-R</dc:creator>
    <dc:date>2024-01-18T18:39:30Z</dc:date>
    <item>
      <title>Is there a way to control the size of a Legend object?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1371818#M83386</link>
      <description>&lt;P&gt;Is there a way to control the size of a Legend object? For example, can you control the symbol size, bounding&amp;nbsp; box, or make the legend responsive in some way? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 18:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1371818#M83386</guid>
      <dc:creator>Josh-R</dc:creator>
      <dc:date>2024-01-18T18:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to control the size of a Legend object?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1372197#M83401</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215607"&gt;@Josh-R&lt;/a&gt;&amp;nbsp;, thanks for asking this question. Unfortunately, at this time, there isn't any documented and supported way to control the symbol size or bounding box or to make the legend responsive. It is on our roadmap (without an assigned release yet) to implement more control over the layout and size of legend items. I'd caution against creating a bunch of custom CSS rules to do so at this time. We are refactoring the SDK widgets to use the Calcite design system, and when that happens to the Legend widget, it will break all of your hard work.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 13:07:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1372197#M83401</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-01-19T13:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to control the size of a Legend object?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1372342#M83402</link>
      <description>&lt;P&gt;Thanks for the response&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;! Glad to know its on the roadmap! It's not a showstopper right now, but I look forward to the new functionality when it releases.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 16:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1372342#M83402</guid>
      <dc:creator>Josh-R</dc:creator>
      <dc:date>2024-01-19T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to control the size of a Legend object?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1372413#M83408</link>
      <description>&lt;P&gt;I should have mentioned there is a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style" target="_self"&gt;card style&lt;/A&gt; if you are looking for a better experience on smaller screens.&amp;nbsp; It's not the fine grained control over the individual &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#activeLayerInfos" target="_self"&gt;ActiveLayerInfos&lt;/A&gt; objects I think your looking for but it is an option. It's smaller and shows one layer at a time and you page through them.&amp;nbsp;&lt;A href="https://codepen.io/sagewall/pen/poYPqMv" target="_blank"&gt;https://codepen.io/sagewall/pen/poYPqMv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 18:41:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-control-the-size-of-a-legend/m-p/1372413#M83408</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2024-01-19T18:41:10Z</dc:date>
    </item>
  </channel>
</rss>

