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