Unverified Commit 88e67fbf authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7210 from DonLakeFlyer/WindowsFonts

QGCTextField: Fix crappy font rendering on Windows 
parents b7f19233 0ced75ce
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment