Disable QComboBox dropshadow

   1362   0   0
User Avatar
Member
92 posts
Joined: Aug. 2010
Offline
hi all,
I don't like the look of Houdini's QComboBox when it is disabled (left image) and want to disable the white dropshadow.



Does anyone know how to remove it? To adopt Houdini's style, you typically use the following:
style = hou.qt.styleSheet()
self.setStyleSheet(style)
self.setProperty(“houdiniStyle”, True)

I've tried modifying a few things in the stylesheet, but haven't been able to modify that white dropshadow. FYI:
/rel/third_party/houdini/16.5.739_64/houdini/config/Styles/base.qss

I've also seen something like this, but I haven't had any luck there either.
e = QGraphicsDropShadowEffect()
e.setEnabled(False)
e.setBlurRadius(0)
self.repoComboBox.setGraphicsEffect(e)

Any ideas?
thanks!
Edited by jbudsberg - Dec. 16, 2019 12:28:55

Attachments:
qcombo.jpg (10.9 KB)

  • Quick Links