How to decrease the size of a button which contains an image?
I have a button in which it contains an image.But my problem here is i am unable to decrease the width of the button along with image.
If you observer in the screen shot all images are small excpet the line image.
If possible provide me some sample code.
Below is my sample code:
<mx:Button id="line" toggle="true" paddingLeft="1" paddingRight="1" icon="@Embed(source='Image
')" toolTip="Line" useHandCursor="true" buttonMode="true" click="doDrawEnable()" ></mx:Button>