From d997517dc1cca5c840e9884e83c2ed26f636cb0e Mon Sep 17 00:00:00 2001 From: chrin Date: Thu, 29 Feb 2024 15:04:38 +0100 Subject: [PATCH] expt with font size --- pvwidgets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pvwidgets.py b/pvwidgets.py index 63a197d..ef34a72 100644 --- a/pvwidgets.py +++ b/pvwidgets.py @@ -566,9 +566,9 @@ class CAQTextEntry(QLineEdit, PVGateway): @Slot(int, int, int) @Slot(float, int, int) def receive_monitor_update(self, value, status, alarm_severity): - print ("FONT", self.font().pixelSize()) - print ("FONT", self.font().pointSize()) - #self.setFont(QFont("Sans Serif", 8)) + print ("FONT", self.font().pixelSize(), value) + print ("FONT", self.font().pointSize(), value) + self.setFont(QFont("Sans Serif", 8)) #QLineEdit.setFont(self, QFont("Sans Serif", 8)) PVGateway.receive_monitor_update(self, value, status, alarm_severity)