cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

Icon Padding

I'd like to be able to use an icon as a button, but most icons go right to the edges of their bounding box. Please consider adding padding properties to the Icon object so that when you set a non-transparent background colour for the icon, the icon itself can be smaller than the shaded area - ie, I am able to have, say, 10 px of space between the icon and the edge of the button.

 

The image on the left shows the problem. The one on the right is the desired outcome.

 

Icons.png

Status: New
Comments
Level 10

Hi @mtank31,

Padding on icons already exists as you can see on the following capture:

 

Image 3.png

 

Is that what you were looking for ?

Emmanuel

Level: Powered On

@egallis

 

Er, yes... I'm not sure why I didn't notice that. Thanks!