PDA

View Full Version : Auto-expand combo box to contents on windows


louis_xx
13th June 2008, 18:08
I am using a combo box (custom delegate) and on the Mac it seems to expand nicely to display the contents. However on windows the combo box seems to be the width of the cell and chops off the contents.

How can i get the combo box on windows to display strings of arbitrary length?

jpn
13th June 2008, 20:02
Which size adjust policy (see QComboBox docs for more details) are you using?