|
self.setStyleSheet("background-color: rgb(20,20,20)") |
AFAIK, setting a global (right terminology?) stylesheet on a QObject may unintentially reduce flexibility from inherited styles.
par = QWidget() par.setStyleSheet('QFrame:hover{border: 2px solid green;}') div = HorizontalDivider(parent=par)
That being siad, its quite possible this is the intended behaviour (if so, feel free to close).
qute/qute/extensions/dividers.py
Line 11 in 3c5e1c3
AFAIK, setting a global (right terminology?) stylesheet on a QObject may unintentially reduce flexibility from inherited styles.
par = QWidget() par.setStyleSheet('QFrame:hover{border: 2px solid green;}') div = HorizontalDivider(parent=par)That being siad, its quite possible this is the intended behaviour (if so, feel free to close).