From da086e71b8fc9c67bf91564ca74ea35807ff80c9 Mon Sep 17 00:00:00 2001 From: dalthviz Date: Wed, 19 Oct 2022 12:06:12 -0500 Subject: [PATCH] Application: Update download installer update cancel button size and alignment --- spyder/plugins/application/widgets/install.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spyder/plugins/application/widgets/install.py b/spyder/plugins/application/widgets/install.py index 7cd3b907ba7..ff626aee217 100644 --- a/spyder/plugins/application/widgets/install.py +++ b/spyder/plugins/application/widgets/install.py @@ -64,10 +64,11 @@ def __init__(self, parent): self._progress_bar.setFixedWidth(180) self.cancel_button = QPushButton() self.cancel_button.setIcon(ima.icon('DialogCloseButton')) - self.cancel_button.setFixedHeight(50) - self.cancel_button.setFixedWidth(50) + self.cancel_button.setFixedHeight(25) + self.cancel_button.setFixedWidth(25) progress_layout.addWidget(self._progress_bar, alignment=Qt.AlignLeft) progress_layout.addWidget(self.cancel_button) + progress_layout.setAlignment(Qt.AlignVCenter) self._progress_widget.setLayout(progress_layout) self._progress_label = QLabel(_('Downloading'))