Select to view content in your preferred language

Some icons are not drawing on buttons

899
3
Jump to solution
11-12-2014 02:37 PM
KenBuja
MVP Esteemed Contributor

I am adding icons to buttons on a drawing tool using 16 pixel icons from the ArcGIS icon collection supplied by the Developer's Kit (C:\Program Files (x86)\ArcGIS\DeveloperKit10.0\Icons). However, not all of the icons are getting added to the buttons. I've tried using the icon or an imbedded image using a base 64 data URI (converted using this site) but neither works.

I've put an example here, with the polygon and extent buttons not getting their icons added. Any ideas why the two aren't showing up?

0 Kudos
1 Solution

Accepted Solutions
JohnGrayson
Esri Regular Contributor

Another alternative would be to change your css class names to something unique so they don't conflict with other class names.

View solution in original post

0 Kudos
3 Replies
JohnGrayson
Esri Regular Contributor

You'll also need to specify the image position as you have some conflicts with other css classes that have the same name.

background-position: 0;

0 Kudos
JohnGrayson
Esri Regular Contributor

Another alternative would be to change your css class names to something unique so they don't conflict with other class names.

0 Kudos
KenBuja
MVP Esteemed Contributor

Thanks John!

0 Kudos