cast to Qt.AlignmentFlag when setAlignment includeds an OR

This commit is contained in:
2024-02-27 15:10:47 +01:00
parent 7757b62b46
commit afed9eb25c
+1 -1
View File
@@ -91,7 +91,7 @@ class GUIHeader(QWidget):
"""
station = QGroupBox()
station.setObjectName("MACHINE")
station.setAlignment(Qt.AlignHCenter | Qt.AlignTop)
station.setAlignment(Qt.AlignmentFlag(Qt.AlignHCenter|Qt.AlignTop))
station.setFlat(False)
station.setTitle("Status")
date = CAQLabel(self, pv_name=self.settings.data["OpMsg"]["pvDate1"])