PDA

View Full Version : QComboBox and Icons



X-man
3rd December 2008, 20:17
I have a QComboBox with 2 entries, the first one has an icon and a text, and the second one just text.

The size of the icon is ok (using setIconSize), but it seems I cannot find a way to control the size of the ComboBox when showPopup is called. So, when I press the arrows to see my options, the icon of the first item is resized to something very small and I can barely see it. If I choose it, it gets back to the size I initially set it to be.

Is there a way to alter the size of the popup? Or any other workaround so that I can still see the icon in the desired size when choosing?

Thanks in advance for your advice and help,

X.