expt with font size

This commit is contained in:
2024-02-29 15:04:38 +01:00
parent 68e8da943e
commit d997517dc1
+3 -3
View File
@@ -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)