Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
9445a559
Unverified
Commit
9445a559
authored
Apr 08, 2020
by
Don Gagne
Committed by
GitHub
Apr 08, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8642 from mavlink/BlankPage
Fix blank instrument values page after changing to another page
parents
07422b0d
77c29f48
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
22 deletions
+25
-22
ValuePageWidget.qml
src/FlightMap/Widgets/ValuePageWidget.qml
+20
-21
QGCFileDialog.qml
src/QmlControls/QGCFileDialog.qml
+3
-1
QGCLabel.qml
src/QmlControls/QGCLabel.qml
+2
-0
No files found.
src/FlightMap/Widgets/ValuePageWidget.qml
View file @
9445a559
...
...
@@ -112,33 +112,32 @@ Column {
anchors.bottom
:
_settingsUnlocked
?
undefined
:
parent
.
bottom
QGCLabel
{
width
:
columnRepeater
.
columnWidth
height
:
_columnButtonsTotalHeight
font.pointSize
:
ScreenTools
.
smallFontPointSize
text
:
_settingsUnlocked
?
qsTr
(
"
BLANK
"
)
:
""
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
visible
:
!
object
.
fact
anchors.horizontalCenter
:
parent
.
horizontalCenter
height
:
_columnButtonsTotalHeight
font.pointSize
:
ScreenTools
.
smallFontPointSize
text
:
_settingsUnlocked
?
qsTr
(
"
BLANK
"
)
:
""
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
visible
:
!
object
.
fact
}
QGCLabel
{
id
:
label
width
:
columnRepeater
.
columnWidth
font.pointSize
:
ScreenTools
.
smallFontPointSize
text
:
object
.
label
.
toUpperCase
()
horizontalAlignment
:
Text
.
AlignHCenter
visible
:
object
.
fact
&&
object
.
label
id
:
label
anchors.horizontalCenter
:
parent
.
horizontalCenter
font.pointSize
:
ScreenTools
.
smallFontPointSize
text
:
object
.
label
.
toUpperCase
()
horizontalAlignment
:
Text
.
AlignHCenter
visible
:
object
.
fact
&&
object
.
label
}
QGCLabel
{
id
:
value
anchors.topMargin
:
label
.
visible
?
2
:
0
anchors.top
:
label
.
visible
?
label
.
bottom
:
parent
.
top
width
:
columnRepeater
.
columnWidth
font.pointSize
:
_rgFontSizes
[
object
.
fontSize
]
text
:
visible
?
(
object
.
fact
.
enumOrValueString
+
(
object
.
showUnits
?
object
.
fact
.
units
:
""
))
:
""
horizontalAlignment
:
Text
.
AlignHCenter
visible
:
object
.
fact
id
:
value
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.topMargin
:
label
.
visible
?
2
:
0
anchors.top
:
label
.
visible
?
label
.
bottom
:
parent
.
top
font.pointSize
:
_rgFontSizes
[
object
.
fontSize
]
text
:
visible
?
(
object
.
fact
.
enumOrValueString
+
(
object
.
showUnits
?
object
.
fact
.
units
:
""
))
:
""
visible
:
object
.
fact
}
}
}
// Repeater - columns
...
...
src/QmlControls/QGCFileDialog.qml
View file @
9445a559
...
...
@@ -38,7 +38,9 @@ Item {
onFolderChanged
:
_updateMobileShortPath
()
function
_updateMobileShortPath
()
{
_mobileShortPath
=
controller
.
fullFolderPathToShortMobilePath
(
folder
);
if
(
ScreenTools
.
isMobile
)
{
_mobileShortPath
=
controller
.
fullFolderPathToShortMobilePath
(
folder
);
}
}
function
setupFileExtensions
()
{
...
...
src/QmlControls/QGCLabel.qml
View file @
9445a559
...
...
@@ -9,4 +9,6 @@ Text {
font.family
:
ScreenTools
.
normalFontFamily
color
:
qgcPal
.
text
antialiasing
:
true
QGCPalette
{
id
:
qgcPal
;
colorGroupEnabled
:
enabled
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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