From f55372b4800b656d7ca6d38bed53fe1e449f1b81 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Sun, 12 Oct 2025 17:10:44 +0500 Subject: [PATCH] fix(autoinstall): fix scrollbar sticking to the right edge Signed-off-by: Boris Yumankulov --- portprotonqt/main_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portprotonqt/main_window.py b/portprotonqt/main_window.py index e44712d..852a29b 100644 --- a/portprotonqt/main_window.py +++ b/portprotonqt/main_window.py @@ -1063,13 +1063,13 @@ class MainWindow(QMainWindow): autoInstallPage = QWidget() autoInstallPage.setStyleSheet(self.theme.LIBRARY_WIDGET_STYLE) autoInstallLayout = QVBoxLayout(autoInstallPage) - autoInstallLayout.setContentsMargins(0, 0, 0, 0) + autoInstallLayout.setContentsMargins(20, 0, 20, 0) autoInstallLayout.setSpacing(0) # Верхняя панель с заголовком и поиском headerWidget = QWidget() headerLayout = QHBoxLayout(headerWidget) - headerLayout.setContentsMargins(20, 10, 20, 10) + headerLayout.setContentsMargins(0, 10, 0, 10) headerLayout.setSpacing(10) # Заголовок