From 52d5088459a3b013cb97e35a562715126fd6c67d Mon Sep 17 00:00:00 2001 From: Eivind Jahren Date: Tue, 11 Jun 2024 12:59:08 +0200 Subject: [PATCH] Fix incorrect AlignBottom enum --- src/ert/gui/tools/plugins/process_job_dialog.py | 2 +- src/ert/gui/tools/workflows/run_workflow_widget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ert/gui/tools/plugins/process_job_dialog.py b/src/ert/gui/tools/plugins/process_job_dialog.py index 634dcdd417b..bbf618a216b 100644 --- a/src/ert/gui/tools/plugins/process_job_dialog.py +++ b/src/ert/gui/tools/plugins/process_job_dialog.py @@ -53,7 +53,7 @@ def __init__(self, title: str, parent: Optional[QWidget] = None) -> None: widget_layout.addWidget(processing_animation) self.processing_label = QLabel(f"Processing job: '{title}'") - widget_layout.addWidget(self.processing_label, Qt.AlignBottom) + widget_layout.addWidget(self.processing_label, Qt.AlignmentFlag.AlignBottom) widget.setLayout(widget_layout) diff --git a/src/ert/gui/tools/workflows/run_workflow_widget.py b/src/ert/gui/tools/workflows/run_workflow_widget.py index 5408728e48b..339a3f4dac0 100644 --- a/src/ert/gui/tools/workflows/run_workflow_widget.py +++ b/src/ert/gui/tools/workflows/run_workflow_widget.py @@ -85,7 +85,7 @@ def createSpinWidget(self) -> QWidget: processing_label = QLabel( f"Processing workflow '{self.getCurrentWorkflowName()}'" ) - layout.addWidget(processing_label, Qt.Alignment.AlignBottom) + layout.addWidget(processing_label, Qt.AlignmentFlag.AlignBottom) widget.setLayout(layout)