PDA

View Full Version : QComboBox



ToddAtWSU
20th January 2014, 14:20
I have a QComboBox whose contents exceed the width of the widget. Is there any way to make this adjust wider when I drop down the list so I can read the entire contents? I have tried playing with the SizeAdjustPolicy settings but the appearance never changes. I am running this under Windows 7.

Thanks!
Todd

anda_skoa
20th January 2014, 14:59
I think SizeAdjustPolicy is for the widget itself, not the popup.
See if you get better results by manipulating the popup view, see QComboBox::view()

Cheers,
_

ToddAtWSU
20th January 2014, 15:14
Okay, I will look into this and give it a try!