I have to add a image to an ultrabutton(whose size is 21 * 21), the text is not needed. Although the image size is 16 * 16, i am not able to see the whole image, it looks like there is a border around that image by default. How to change the border for the image and make the image big?
If you just want to turn off the borders for the button and show nothing but the image, you have to turn off themes (set UseOsThemes on the button to false) and then set the ButtonStyle to Borderless or whatever setting you like.
Thanks a lot.