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
00145067
Commit
00145067
authored
Apr 04, 2016
by
Tomaz Canabrava
Browse files
Don't translate Cartesian Coordinates
Signed-off-by:
Tomaz Canabrava
<
tomaz.canabrava@intel.com
>
parent
5f005e57
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/FlightMap/Widgets/VibrationWidget.qml
View file @
00145067
...
@@ -84,7 +84,7 @@ QGCFlickable {
...
@@ -84,7 +84,7 @@ QGCFlickable {
QGCLabel
{
QGCLabel
{
id
:
xBarLabel
id
:
xBarLabel
color
:
textColor
color
:
textColor
text
:
qsTr
(
"
X
"
)
text
:
"
X
"
anchors.horizontalCenter
:
xBar
.
horizontalCenter
anchors.horizontalCenter
:
xBar
.
horizontalCenter
}
}
}
}
...
@@ -102,7 +102,7 @@ QGCFlickable {
...
@@ -102,7 +102,7 @@ QGCFlickable {
QGCLabel
{
QGCLabel
{
anchors.horizontalCenter
:
yBar
.
horizontalCenter
anchors.horizontalCenter
:
yBar
.
horizontalCenter
color
:
textColor
color
:
textColor
text
:
qsTr
(
"
Y
"
)
text
:
"
Y
"
}
}
}
}
...
@@ -119,7 +119,7 @@ QGCFlickable {
...
@@ -119,7 +119,7 @@ QGCFlickable {
QGCLabel
{
QGCLabel
{
anchors.horizontalCenter
:
zBar
.
horizontalCenter
anchors.horizontalCenter
:
zBar
.
horizontalCenter
color
:
textColor
color
:
textColor
text
:
qsTr
(
"
Z
"
)
text
:
"
Z
"
}
}
}
}
}
// Row
}
// Row
...
...
src/QmlControls/ScreenTools.qml
View file @
00145067
...
@@ -45,7 +45,7 @@ Item {
...
@@ -45,7 +45,7 @@ Item {
Text
{
Text
{
id
:
_textMeasure
id
:
_textMeasure
text
:
qsTr
(
"
X
"
)
text
:
"
X
"
property
real
fontWidth
:
contentWidth
*
(
ScreenToolsController
.
testHighDPI
?
2
:
1
)
property
real
fontWidth
:
contentWidth
*
(
ScreenToolsController
.
testHighDPI
?
2
:
1
)
property
real
fontHeight
:
contentHeight
*
(
ScreenToolsController
.
testHighDPI
?
2
:
1
)
property
real
fontHeight
:
contentHeight
*
(
ScreenToolsController
.
testHighDPI
?
2
:
1
)
}
}
...
...
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