diff --git a/src/QmlControls/QGCTextField.qml b/src/QmlControls/QGCTextField.qml index d8043b4fc0c675f1be73492c9d830af129336013..4e132f5e7c43fc8dc122bca1ec377a0be5e4d43c 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