PDA

View Full Version : QComboBox drop-down arrow is visible when changing background color


EmaNymton
2010-08-11, 15:09
Hi,
I'm tinkering around with python and pyqt and use comboboxes inside a tablewidget. Everything is perfect, except when I change the background-color to highlight some boxes. The drop-down arrow becomes visible (see screenshot).

I change the background color by
item.setStyleSheet("QComboBox { background-color: red; }")

Is there any way to hide the drop-down arrow?

EmaNymton