I have a button with an image and text - how to convey text in addition?

First, I will show the image of the current display;

description

You can see how the button image (System.Windows.Forms.) Is positioned somewhat correctly, but the text does not have the correct pending field.

How can I give the button text about 30px padding on the left? I tried changing Button Padding myself, but it changes both text and image padding.

Thank,

~ Tgys

+3
source share
1 answer

Try setting the property TextImageRelation:

button1.TextImageRelation = TextImageRelation.ImageBeforeText;
+3
source

All Articles