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
ef712aff
Commit
ef712aff
authored
Sep 30, 2019
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
423df36b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
14 deletions
+13
-14
SetupPage.qml
src/AutoPilotPlugins/Common/SetupPage.qml
+13
-14
No files found.
src/AutoPilotPlugins/Common/SetupPage.qml
View file @
ef712aff
...
...
@@ -51,14 +51,13 @@ Item {
QGCFlickable
{
anchors.fill
:
parent
contentWidth
:
pageLoader
.
x
+
pageLoader
.
item
.
width
contentHeight
:
pageLoader
.
y
+
pageLoader
.
item
.
height
contentWidth
:
Math
.
max
(
availableWidth
,
pageLoader
.
x
+
pageLoader
.
item
.
width
)
contentHeight
:
Math
.
max
(
availableHeight
,
pageLoader
.
y
+
pageLoader
.
item
.
height
)
clip
:
true
RowLayout
{
id
:
headingRow
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
width
:
availableWidth
spacing
:
_margins
layoutDirection
:
Qt
.
RightToLeft
...
...
@@ -68,22 +67,22 @@ Item {
visible
:
showAdvanced
}
Column
{
Column
Layout
{
spacing
:
_margins
Layout.fillWidth
:
true
QGCLabel
{
font.pointSize
:
ScreenTools
.
largeFontPointSize
text
:
!
setupView
.
enabled
?
_pageTitle
+
"
<font color=
\"
red
\"
>
"
+
qsTr
(
"
(Disabled while the vehicle is %1)
"
).
arg
(
_disableReason
)
+
"
</font>
"
:
_pageTitle
visible
:
!
ScreenTools
.
isShortScreen
Layout.fillWidth
:
true
font.pointSize
:
ScreenTools
.
largeFontPointSize
text
:
!
setupView
.
enabled
?
_pageTitle
+
"
<font color=
\"
red
\"
>
"
+
qsTr
(
"
(Disabled while the vehicle is %1)
"
).
arg
(
_disableReason
)
+
"
</font>
"
:
_pageTitle
visible
:
!
ScreenTools
.
isShortScreen
}
QGCLabel
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
wrapMode
:
Text
.
WordWrap
text
:
pageDescription
visible
:
pageDescription
!==
""
&&
!
ScreenTools
.
isShortScreen
Layout.fillWidth
:
true
wrapMode
:
Text
.
WordWrap
text
:
pageDescription
visible
:
pageDescription
!==
""
&&
!
ScreenTools
.
isShortScreen
}
}
}
...
...
@@ -96,7 +95,7 @@ Item {
// to be disabled
Rectangle
{
visible
:
!
setupView
.
enabled
anchors.fill
:
pa
geLoader
anchors.fill
:
pa
rent
color
:
"
black
"
opacity
:
0.5
}
...
...
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