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
7afa27d4
Commit
7afa27d4
authored
Mar 10, 2015
by
dogmaphobic
Browse files
Removed font sizing from unit test control as I don't know how it behaves without a visible window.
parent
9b6e5499
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FactSystem/FactSystemTest.qml
View file @
7afa27d4
...
...
@@ -24,16 +24,14 @@
import
QtQuick
2.2
import
QtQuick
.
Controls
1.2
import
QGroundControl
.
FactSystem
1.0
import
QGroundControl
.
ScreenTools
1.0
Item
{
property
ScreenTools
screenTools
:
ScreenTools
{
}
TextInput
{
objectName
:
"
testControl
"
Fact
{
id
:
fact
;
name
:
"
RC_MAP_THROTTLE
"
}
text
:
fact
.
value
font.family
:
"
Helvetica
"
font.pointSize
:
screenTools
.
dpiAdjustedPointSize
(
24
)
;
font.pointSize
:
24
;
color
:
"
red
"
focus
:
true
onAccepted
:
{
fact
.
value
=
text
;
}
...
...
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