From bf08fbe4885bbc9eafc2bccb34559432b53ea0da Mon Sep 17 00:00:00 2001 From: chrin Date: Thu, 29 Feb 2024 14:35:07 +0100 Subject: [PATCH] expt with font size --- pvwidgets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pvwidgets.py b/pvwidgets.py index 24618ce..222679a 100644 --- a/pvwidgets.py +++ b/pvwidgets.py @@ -566,10 +566,11 @@ 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()) self.setFont(QFont("Sans Serif", 8)) QLineEdit.setFont(self, QFont("Sans Serif", 8)) PVGateway.receive_monitor_update(self, value, status, alarm_severity) - + print ("FONT-2", self.font()) @Slot(int, str, int) def receive_connect_update(self, handle: int, pv_name: str, status: int): '''Triggered by connect signal'''