Link to home
Start Free TrialLog in
Avatar of Flying-Kiwi
Flying-Kiwi

asked on

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!
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

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
Avatar of Flying-Kiwi
Flying-Kiwi

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thx, I feared so. :-(