VS.NET 2003 Windows Toolbar: How to center text without image?

  • Thread starter Thread starter Mark Overstreet
  • Start date Start date
M

Mark Overstreet

I am trying to create a toolbar in a Winforms application that
contains only the Text on the button without an image. It appears
there is no way to tell the button to draw itself without an image and
center the text. For example, all I want is a button with the letter
'R' on it in the center of a small button on the toolbar; however, the
'R' is in the lower half of the button and the button looks to be
anticipating the addition of an image in the upper half.

How can I implement a toolbar with only small buttons and the text in
the center WITHOUT an image?

Thanks
Mark
 
How about using a fixed size image that is filled with a solid color and set this color to be Transparent?
Would that do it?
 
Back
Top