Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create a small button with three dots on it?

Tags:

c#

.net

winforms

I want to create a small button with three dots on it, like we see everywhere in visual studio, in order to load the FolderBrowserDialog. How best to create this button? Best I did was to get a 23x23 button with margin and padding set to 0, three dots for the text (only two appear) and auto-ellipses on (which makes a third dot appear). The button is still much larger than I'd like and the dots don't stand out very well.

like image 528
Jon Avatar asked Jan 12 '12 18:01

Jon


1 Answers

You can copy the ellipsis character (…) from this post, or use Alt-0133 to produce it on demand.

Button.Text = "…";

The button is still much larger than I'd like...

Adjust the font size?

...and the dots don't stand out very well.

Make the font bold? ()

I suppose if none of this works for you, an image is the next-best thing.

like image 120
StriplingWarrior Avatar answered Oct 05 '22 02:10

StriplingWarrior