Skip to content

Commit

Permalink
Fix incorrect AlignBottom enum
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren authored and oyvindeide committed Jun 11, 2024
1 parent 7440057 commit 52d5088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ert/gui/tools/plugins/process_job_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/ert/gui/tools/workflows/run_workflow_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 52d5088

Please sign in to comment.