ComboBox List Width

S

Someone

Hello

I have a combo box whose List Width is set to Auto.

However, if the text length of the items in the combo box are longer than
the physical width of the combo box, the drop-down portion stays the same
length as the combo box, rather than expanding to the physical width of the
text of the drop-down items.

Could anyone tell me whether it's possible for the drop-down part of a combo
box to expand to fit to its contents? I don't want to set a specific size,
as it looks untidy if the contents are short. I also do not have space to
widen the actual control.

Many thanks
M
 
K

Ken Snell \(MVP\)

You can't make the width "auto-fit" the width of the contents, but you can
change the List Width to whatever fixed value you want to use.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top