Make some minor improvements to custom widget highlighting

This commit is contained in:
Veronica Berglyd Olsen
2024-02-01 20:34:42 +01:00
parent d504c0a7ec
commit 3b9ef47e0f
5 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ class _NPagedToolButton(QToolButton):
if self.isChecked():
backCol = palette.highlight()
paint.setBrush(backCol)
paint.setOpacity(0.5)
paint.setOpacity(0.35)
paint.drawRoundedRect(0, 0, width, height, self._cR, self._cR)
textCol = palette.highlightedText().color()
else: