Skip to content

Commit

Permalink
remove buffer around action widget
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiCheng45 committed Mar 22, 2024
1 parent fcc42c7 commit 52fcff7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions MDANSE_GUI/Src/MDANSE_GUI/Tabs/Visualisers/Action.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,10 @@ def __init__(self, *args, **kwargs):
self.set_trajectory(default_path, input_trajectory)
super().__init__(*args, **kwargs)

buffer = QWidget(self)
scroll_area = QScrollArea()
scroll_area.setWidget(buffer)
scroll_area.setWidgetResizable(True)
self.layout = QVBoxLayout(buffer)
self.layout = QVBoxLayout(self)
base_layout = QVBoxLayout(self)
buffer.setLayout(self.layout)
base_layout.addWidget(scroll_area)
self.setLayout(base_layout)
self.handlers = {}
Expand Down

0 comments on commit 52fcff7

Please sign in to comment.