I have a standard button on my WinForm with some text and an image. It looks like this:

How can I set the button so that the image is aligned just to the left of the text? I have tried ImageAlign, but that doesn't seem to take into account the button's text.
The ImageAlign and TextAlign properties of Button are used for this purpose.
Load: This event occurs before a form is displayed for the first time.
Just found it.
You need to set:
ImageAlign to MiddleRight
TextImageRelation to ImageBeforeText
TextAlign as MiddleCenter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With