Thread
:
QComboBox drop-down arrow is visible when changing background color
View Single Post
EmaNymton
2010-08-11 , 15:09
Posts: 141 | Thanked: 267 times | Joined on May 2010 @ Germany
#
1
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
Code:
item.setStyleSheet("QComboBox { background-color: red; }")
Is there any way to hide the drop-down arrow?
EmaNymton
Attached Images
Quote & Reply
|
EmaNymton
View Public Profile
Send a private message to EmaNymton
Find all posts by EmaNymton