3

To begin with, I'll show an image of the current display;

description

You see how the (System.Windows.Forms.)Button's image is placed somewhat correctly, yet the text has no correct left-padding.

How can I give the text of the Button about 30px padding from the left? I've tried changing the Button's Padding itself, but it changes both the text and the image's padding.

Thanks,

~ Tgys

Tgys
  • 612
  • 1
  • 11
  • 21

1 Answers1

3

Try setting the TextImageRelation property:

button1.TextImageRelation = TextImageRelation.ImageBeforeText;
LarsTech
  • 80,625
  • 14
  • 153
  • 225