From c95afc03b5a0035e7af09f1eb11d29ba5c828baf Mon Sep 17 00:00:00 2001 From: chrin Date: Thu, 29 Feb 2024 12:55:05 +0100 Subject: [PATCH] Font size to 10 pixels for CAQTextEntry --- pvwidgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvwidgets.py b/pvwidgets.py index e092d32..2951ef2 100644 --- a/pvwidgets.py +++ b/pvwidgets.py @@ -578,7 +578,7 @@ class CAQTextEntry(QLineEdit, PVGateway): f = QFont("Sans Serif") f.setPixelSize(10) - QLineEdit.setFont(f) + QLineEdit.setFont(self, f) #fm = QFontMetricsF(f) #As for CAQLabel fm = QFontMetricsF(QFont("Sans Serif", 10))