Skip to content

Commit

Permalink
Update NoBorderScrollArea.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DanicaSTFC authored Aug 7, 2024
1 parent 2cc3d40 commit 7fe7454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eqt/ui/NoBorderScrollArea.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def __init__(self, widget, parent=None):
Sets its widget to resizable. Due to a bug in `qdarkstyle`, the PushButtons in the
widget do not inherit the right style. The init applies `qdarkstyle` to all the buttons
present in the widget when the object is created. Any button added to the widget after the
init is invoked will not be styled as expected. In this case, the method `apply_qdarkstyle_to_buttons`
would need to be invoked by the user after the object is instanced."""
init is invoked will not be styled as expected. In this case, the method
`apply_qdarkstyle_to_buttons` would need to be invoked by the user after the object is instanced."""
super().__init__(parent)
self.setStyleSheet("QScrollArea { border: none; }")
self.setWidgetResizable(True)
Expand Down

0 comments on commit 7fe7454

Please sign in to comment.