From 14400488a34fc9738b34d02a15084a1bb25c5b09 Mon Sep 17 00:00:00 2001 From: chrin Date: Thu, 29 Feb 2024 14:13:32 +0100 Subject: [PATCH] Font size to 8 CAQTextEntry --- pvwidgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvwidgets.py b/pvwidgets.py index 582c796..921ba71 100644 --- a/pvwidgets.py +++ b/pvwidgets.py @@ -576,7 +576,7 @@ class CAQTextEntry(QLineEdit, PVGateway): def configure_widget(self): self.setFocusPolicy(Qt.StrongFocus) #self.setFont(QFont("Sans Serif", 12)) - QLineEdit.setFont(QFont("Sans Serif", 8)) + QLineEdit.setFont(self, QFont("Sans Serif", 8)) #f = QFont("Sans Serif") #f.setPixelSize(11) #self.setFont(f)