diff --git a/piker/ui/_label.py b/piker/ui/_label.py index 1a22951e..42ab0776 100644 --- a/piker/ui/_label.py +++ b/piker/ui/_label.py @@ -76,6 +76,8 @@ class Label: self._x_offset = x_offset txt = self.txt = QtWidgets.QGraphicsTextItem() + txt.setCacheMode(QtWidgets.QGraphicsItem.DeviceCoordinateCache) + vb.scene().addItem(txt) # configure font size based on DPI