expt with font size
This commit is contained in:
+3
-3
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user