Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
UltraButton image size problem
posted

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?

Parents
  • 469350
    Verified Answer
    Offline posted

    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.

     

Reply Children
No Data