Any way to reduce the width of the button on a Combo Box?

I need several values in a row, each changeable with a ComboBox drop-down. The standard width is about twice as wide as I'd like it to be. Is it changeable?

The ideal would be like on a ToolStripDropDown - they're nice and narrow.

Thx if you can help!
Flying-KiwiAsked:
Who is Participating?
 
Fernando SotoConnect With a Mentor RetiredCommented:
There is no attribute to change the size of the down arrow in the combo box. If you wanted to do that you would have to create a user control that inherits from the ComboBox and do the painting of the control your self. A lot of work to reduce the size of the arrow button.

Fernando
0
 
Fernando SotoRetiredCommented:
Hi  Flying-Kiwi;

At design time you can change the Size attribute to the size you want. In the properties window click on the + sign next to Size to expose the Width and Height attributes, change width to what value you need. At run time you can do it this way:

    ComboBox1.Size = New Size(60, 21)

Where 60 is the new Width and 21 is the new Height.


Fernando
0
 
Flying-KiwiAuthor Commented:
Ah poo, I missed one critical thing in my question - it's the size of the actual 'down-arrow' button I'd like to change, to make it narrower.
0
 
Flying-KiwiAuthor Commented:
Thx, I feared so. :-(
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.