diff --git a/src/QmlControls/QGCTextField.qml b/src/QmlControls/QGCTextField.qml index d8043b4..4e132f5 100644 --- a/src/QmlControls/QGCTextField.qml +++ b/src/QmlControls/QGCTextField.qml @@ -11,6 +11,7 @@ TextField { textColor: qgcPal.textFieldText implicitHeight: ScreenTools.implicitTextFieldHeight activeFocusOnPress: true + antialiasing: true property bool showUnits: false property bool showHelp: false @@ -47,7 +48,11 @@ TextField { } style: TextFieldStyle { + id: tfs font.pointSize: ScreenTools.defaultFontPointSize + font.family: ScreenTools.normalFontFamily + renderType: ScreenTools.isWindows ? Text.QtRendering : tfs.renderType // This works around font rendering problems on windows + background: Item { id: backgroundItem