Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
88e67fbf
Unverified
Commit
88e67fbf
authored
Feb 04, 2019
by
Don Gagne
Committed by
GitHub
Feb 04, 2019
Browse files
Merge pull request #7210 from DonLakeFlyer/WindowsFonts
QGCTextField: Fix crappy font rendering on Windows
parents
b7f19233
0ced75ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/QGCTextField.qml
View file @
88e67fbf
...
@@ -11,6 +11,7 @@ TextField {
...
@@ -11,6 +11,7 @@ TextField {
textColor
:
qgcPal
.
textFieldText
textColor
:
qgcPal
.
textFieldText
implicitHeight
:
ScreenTools
.
implicitTextFieldHeight
implicitHeight
:
ScreenTools
.
implicitTextFieldHeight
activeFocusOnPress
:
true
activeFocusOnPress
:
true
antialiasing
:
true
property
bool
showUnits
:
false
property
bool
showUnits
:
false
property
bool
showHelp
:
false
property
bool
showHelp
:
false
...
@@ -47,7 +48,11 @@ TextField {
...
@@ -47,7 +48,11 @@ TextField {
}
}
style
:
TextFieldStyle
{
style
:
TextFieldStyle
{
id
:
tfs
font.pointSize
:
ScreenTools
.
defaultFontPointSize
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
{
background
:
Item
{
id
:
backgroundItem
id
:
backgroundItem
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment