Skip to content

Minor: Global stylesheet on HorizontalDivider may unintentionally override inherited stylesheet behaviour. #10

Description

@ldunham1

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).

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions