diff --git a/piker/ui/_l1.py b/piker/ui/_l1.py index 8d29d90c..f557de4b 100644 --- a/piker/ui/_l1.py +++ b/piker/ui/_l1.py @@ -237,8 +237,8 @@ class LevelLabel(YAxisLabel): class L1Label(LevelLabel): text_flags = ( - QtCore.Qt.TextDontClip - | QtCore.Qt.AlignLeft + QtCore.Qt.TextFlag.TextDontClip + | QtCore.Qt.AlignmentFlag.AlignLeft ) def set_label_str(