From 54983b04e372ae6a2ec81006f711fc6acff14bd0 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 16 Oct 2020 11:23:59 +0200 Subject: [PATCH] add transparency to filter buttons spacer --- pype/tools/pyblish_pype/widgets.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pype/tools/pyblish_pype/widgets.py b/pype/tools/pyblish_pype/widgets.py index 4da759899e..dc4919c13f 100644 --- a/pype/tools/pyblish_pype/widgets.py +++ b/pype/tools/pyblish_pype/widgets.py @@ -543,7 +543,9 @@ class TerminalFilterWidget(QtWidgets.QWidget): layout = QtWidgets.QHBoxLayout(self) layout.setContentsMargins(0, 0, 0, 0) # Add spacers - layout.addWidget(QtWidgets.QWidget(), 1) + spacer = QtWidgets.QWidget() + spacer.setAttribute(QtCore.Qt.WA_TranslucentBackground) + layout.addWidget(spacer, 1) for btn in filter_buttons: layout.addWidget(btn)