Remove vertical scrollbar if there's no need in AWCD

This commit is contained in:
Raffson 2024-05-25 14:04:28 +02:00
parent 8482829f94
commit 16b6c00c0d
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -525,7 +525,6 @@ class AircraftSquadronsPage(QWidget):
scrolling_area.setHorizontalScrollBarPolicy(
Qt.ScrollBarPolicy.ScrollBarAlwaysOff
)
scrolling_area.setVerticalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAlwaysOn)
scrolling_area.setWidgetResizable(True)
scrolling_area.setWidget(scrolling_widget)