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 {
...
@@ -51,14 +51,13 @@ Item {
QGCFlickable
{
QGCFlickable
{
anchors.fill
:
parent
anchors.fill
:
parent
contentWidth
:
pageLoader
.
x
+
pageLoader
.
item
.
width
contentWidth
:
Math
.
max
(
availableWidth
,
pageLoader
.
x
+
pageLoader
.
item
.
width
)
contentHeight
:
pageLoader
.
y
+
pageLoader
.
item
.
height
contentHeight
:
Math
.
max
(
availableHeight
,
pageLoader
.
y
+
pageLoader
.
item
.
height
)
clip
:
true
clip
:
true
RowLayout
{
RowLayout
{
id
:
headingRow
id
:
headingRow
anchors.left
:
parent
.
left
width
:
availableWidth
anchors.right
:
parent
.
right
spacing
:
_margins
spacing
:
_margins
layoutDirection
:
Qt
.
RightToLeft
layoutDirection
:
Qt
.
RightToLeft
...
@@ -68,22 +67,22 @@ Item {
...
@@ -68,22 +67,22 @@ Item {
visible
:
showAdvanced
visible
:
showAdvanced
}
}
Column
{
Column
Layout
{
spacing
:
_margins
spacing
:
_margins
Layout.fillWidth
:
true
Layout.fillWidth
:
true
QGCLabel
{
QGCLabel
{
font.pointSize
:
ScreenTools
.
largeFontPointSize
Layout.fillWidth
:
true
text
:
!
setupView
.
enabled
?
_pageTitle
+
"
<font color=
\"
red
\"
>
"
+
qsTr
(
"
(Disabled while the vehicle is %1)
"
).
arg
(
_disableReason
)
+
"
</font>
"
:
_pageTitle
font.pointSize
:
ScreenTools
.
largeFontPointSize
visible
:
!
ScreenTools
.
isShortScreen
text
:
!
setupView
.
enabled
?
_pageTitle
+
"
<font color=
\"
red
\"
>
"
+
qsTr
(
"
(Disabled while the vehicle is %1)
"
).
arg
(
_disableReason
)
+
"
</font>
"
:
_pageTitle
visible
:
!
ScreenTools
.
isShortScreen
}
}
QGCLabel
{
QGCLabel
{
anchors.left
:
parent
.
left
Layout.fillWidth
:
true
anchors.right
:
parent
.
right
wrapMode
:
Text
.
WordWrap
wrapMode
:
Text
.
WordWrap
text
:
pageDescription
text
:
pageDescription
visible
:
pageDescription
!==
""
&&
!
ScreenTools
.
isShortScreen
visible
:
pageDescription
!==
""
&&
!
ScreenTools
.
isShortScreen
}
}
}
}
}
}
...
@@ -96,7 +95,7 @@ Item {
...
@@ -96,7 +95,7 @@ Item {
// to be disabled
// to be disabled
Rectangle
{
Rectangle
{
visible
:
!
setupView
.
enabled
visible
:
!
setupView
.
enabled
anchors.fill
:
pa
geLoader
anchors.fill
:
pa
rent
color
:
"
black
"
color
:
"
black
"
opacity
:
0.5
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