<?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 Possible padding around custom icon image? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226390#M6135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a custom image for a widget in the Launchpad app. The image is the same size as the esri standard images - 50x50px but mine seems to have some sort of padding around it. The image doesn't fill the whole space of the button as the standard esri images do. I've followed the information in other threads to make the images larger.&amp;nbsp;I can&amp;nbsp;get the image larger but&amp;nbsp;my image&amp;nbsp;still doesn't fill the whole available space. I've included a picture of what it looks like. Is there a way to make the image fill the whole button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/454919_icons.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2019 14:14:07 GMT</pubDate>
    <dc:creator>JaneCopeland1</dc:creator>
    <dc:date>2019-07-31T14:14:07Z</dc:date>
    <item>
      <title>Possible padding around custom icon image?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226390#M6135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a custom image for a widget in the Launchpad app. The image is the same size as the esri standard images - 50x50px but mine seems to have some sort of padding around it. The image doesn't fill the whole space of the button as the standard esri images do. I've followed the information in other threads to make the images larger.&amp;nbsp;I can&amp;nbsp;get the image larger but&amp;nbsp;my image&amp;nbsp;still doesn't fill the whole available space. I've included a picture of what it looks like. Is there a way to make the image fill the whole button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/454919_icons.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 14:14:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226390#M6135</guid>
      <dc:creator>JaneCopeland1</dc:creator>
      <dc:date>2019-07-31T14:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Possible padding around custom icon image?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226391#M6136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Even the esri icons have a certain padding. Does your &lt;STRONG&gt;image &lt;/STRONG&gt;have a area around it that is transparent already so that it displays as a circle?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 14:30:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226391#M6136</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-07-31T14:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Possible padding around custom icon image?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226392#M6137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - thanks for the quick reply. The only transparency is on the corners. The image itself fills the canvas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/454920_icon2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 14:38:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226392#M6137</guid>
      <dc:creator>JaneCopeland1</dc:creator>
      <dc:date>2019-07-31T14:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Possible padding around custom icon image?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226393#M6138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It appears to me if you measure the square esri default icons and compare it to your round icons width and height, you will see that they have an equal amount of padding and it is acting like it should.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 14:41:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226393#M6138</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-07-31T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Possible padding around custom icon image?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226394#M6139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - is there a way to shrink the padding around just that image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way - congratulations on your award at the conference in San Diego. Much deserved. I used to work with the Flex app and you were a great help in that community as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 15:41:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226394#M6139</guid>
      <dc:creator>JaneCopeland1</dc:creator>
      <dc:date>2019-07-31T15:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Possible padding around custom icon image?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226395#M6140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You would have to increase the img height and width and remove or make the margin-top smaller.&lt;/P&gt;&lt;P&gt;So something like add this new css rule to the end of the common.css file in the launchpad theme.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="selector token"&gt;.claro .jimu-anchorbar-iconitem .icon-item .icon&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  &lt;SPAN class="property token"&gt;width&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 30px &lt;SPAN class="important token"&gt;!important&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
  &lt;SPAN class="property token"&gt;height&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 30px &lt;SPAN class="important token"&gt;!important&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
  &lt;SPAN class="property token"&gt;margin-top&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 5px &lt;SPAN class="important token"&gt;!important&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226395#M6140</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T11:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Possible padding around custom icon image?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226396#M6141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 16:23:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/possible-padding-around-custom-icon-image/m-p/226396#M6141</guid>
      <dc:creator>JaneCopeland1</dc:creator>
      <dc:date>2019-07-31T16:23:00Z</dc:date>
    </item>
  </channel>
</rss>

