From 49be032511c7a7bd754e779f15990b687a0cdb8d Mon Sep 17 00:00:00 2001 From: chrin Date: Thu, 29 Feb 2024 15:29:56 +0100 Subject: [PATCH] expt with font size --- pvwidgets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pvwidgets.py b/pvwidgets.py index 659ccb1..158f1dd 100644 --- a/pvwidgets.py +++ b/pvwidgets.py @@ -570,7 +570,9 @@ class CAQTextEntry(QLineEdit, PVGateway): print ("FONT", self.font().pointSize(), value) #self.setFont(QFont("Sans Serif", 8)) #QLineEdit.setFont(self, QFont("Sans Serif", 8)) + self.font().setPixelSize(12) PVGateway.receive_monitor_update(self, value, status, alarm_severity) + self.font().setPixelSize(12) print ("FONT-2", self.font().pixelSize(), value) print ("FONT-2", self.font().pointSize(), value)