Font size to 8 pixels for CAQTextEntry

This commit is contained in:
2024-02-29 13:03:35 +01:00
parent 0441a79305
commit 15394066ed
+1 -1
View File
@@ -615,7 +615,7 @@ class CAQTextEntry(QLineEdit, PVGateway):
def setText(self, value):
f = QFont("Sans Serif")
f.setPixelSize(8)
QLineEdit.setFont(f)
QLineEdit.setFont(self, f)
QLineEdit.setText(self, value)
self.currentText = self.text()