The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I am using Button in windows forms. I want to add an image to my button. I am setting the image alignment and text alignment properties to align the images. Unfortunately the Button control treats the image and text saperately.
E.g.: If I have an image before "OK" text, I am setting image left alignment and center text alignment.
But for "Restore Default" button, the text is too long. No matter what kind of alignment I use they are appearing weird with too
much gap between image and text or between text and the button border.
Is there any way to set the alignment to center both text and image together?
Am I the only one having these problems?
Any help is appreciated.
cheers,
- Reddy