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 7fe7454 commit 26d9a8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eqt/ui/NoBorderScrollArea.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def __init__(self, widget, parent=None):
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."""
`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 26d9a8b

Please sign in to comment.