diff --git a/gui/src/aaregui/panels/rotation_data_collection.py b/gui/src/aaregui/panels/rotation_data_collection.py index f03cc32f..3bc05ec3 100644 --- a/gui/src/aaregui/panels/rotation_data_collection.py +++ b/gui/src/aaregui/panels/rotation_data_collection.py @@ -34,7 +34,7 @@ class RotationDataCollectionPanel(ScanSettingsPanel): self.omega_button.clicked.connect(self.update_omega_start) self._layout.addWidget(self.omega_button, 3, 5) - self._layout.addWidget(QLabel("
Screening
", parent=self), 4, 0, 1,6) + self._layout.addWidget(QLabel("
Screening
", parent=self), 4, 0, 1,6) self._layout.addWidget(QLabel("Image angle", parent=self), 5, 0) self.screening_image_angle = NumberLineEdit(0, 90.0, 0.5, decimals=3, parent=self) @@ -63,7 +63,7 @@ class RotationDataCollectionPanel(ScanSettingsPanel): self.screening_button.clicked.connect(self.run_screening) self._layout.addWidget(self.screening_button, 8, 0, 1, 6) - self._layout.addWidget(QLabel("
Rotation
", parent=self), 9, 0, 1,6) + self._layout.addWidget(QLabel("
Rotation
", parent=self), 9, 0, 1,6) self._layout.addWidget(QLabel("Total angle", parent=self), 10, 0) self.total_angle = NumberLineEdit(0, 999.0, 180.0, decimals=3, parent=self) @@ -84,7 +84,7 @@ class RotationDataCollectionPanel(ScanSettingsPanel): self._layout.addWidget(QLabel("Dose", parent=self), 13, 0) self.dose = QLabel(f"{self.__dose_mgy}") - self.dose.setAlignment(Qt.AlignmentFlag.AlignRight) + self.dose.setAlignment(Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignVCenter) self._layout.addWidget(self.dose, 13, 1, 1, 3) self._layout.addWidget(QLabel("MGy", parent=self), 13, 4)