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
61117078
Commit
61117078
authored
Jun 27, 2017
by
DonLakeFlyer
Browse files
Don't drop pint-size on Linux
parent
78115454
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/ScreenTools.qml
View file @
61117078
...
...
@@ -146,15 +146,7 @@ Item {
baseSize
=
14
;
}
}
else
{
//-- Mac OS
if
(
ScreenToolsController
.
isMacOS
)
baseSize
=
_defaultFont
.
font
.
pointSize
;
//-- Linux
else
if
(
ScreenToolsController
.
isLinux
)
baseSize
=
_defaultFont
.
font
.
pointSize
-
3.25
;
//-- Windows
else
baseSize
=
_defaultFont
.
font
.
pointSize
;
baseSize
=
_defaultFont
.
font
.
pointSize
;
}
_appFontPointSizeFact
.
value
=
baseSize
//-- Release build doesn't get signal
...
...
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