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
61cab679
Commit
61cab679
authored
Jan 29, 2020
by
Gus Grubba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CP - Fix video margins when video is in PIP mode
parent
5259114b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
FlightDisplayView.qml
src/FlightDisplay/FlightDisplayView.qml
+17
-17
No files found.
src/FlightDisplay/FlightDisplayView.qml
View file @
61cab679
...
@@ -367,11 +367,11 @@ Item {
...
@@ -367,11 +367,11 @@ Item {
name
:
"
pipMode
"
name
:
"
pipMode
"
PropertyChanges
{
PropertyChanges
{
target
:
_flightVideo
target
:
_flightVideo
anchors.margins
:
_toolsMargin
anchors.margins
:
ScreenTools
.
defaultFontPixelHeight
}
}
PropertyChanges
{
PropertyChanges
{
target
:
_flightVideoPipControl
target
:
_flightVideoPipControl
inPopup
:
false
inPopup
:
false
}
}
},
},
State
{
State
{
...
@@ -381,8 +381,8 @@ Item {
...
@@ -381,8 +381,8 @@ Item {
anchors.margins
:
0
anchors.margins
:
0
}
}
PropertyChanges
{
PropertyChanges
{
target
:
_flightVideoPipControl
target
:
_flightVideoPipControl
inPopup
:
false
inPopup
:
false
}
}
},
},
State
{
State
{
...
@@ -396,19 +396,19 @@ Item {
...
@@ -396,19 +396,19 @@ Item {
}
}
}
}
PropertyChanges
{
PropertyChanges
{
target
:
_flightVideoPipControl
target
:
_flightVideoPipControl
inPopup
:
true
inPopup
:
true
}
}
},
},
State
{
State
{
name
:
"
popup-finished
"
name
:
"
popup-finished
"
ParentChange
{
ParentChange
{
target
:
_flightVideo
target
:
_flightVideo
parent
:
videoItem
parent
:
videoItem
x
:
0
x
:
0
y
:
0
y
:
0
width
:
videoItem
.
width
width
:
videoItem
.
width
height
:
videoItem
.
height
height
:
videoItem
.
height
}
}
},
},
State
{
State
{
...
@@ -420,12 +420,12 @@ Item {
...
@@ -420,12 +420,12 @@ Item {
}
}
}
}
ParentChange
{
ParentChange
{
target
:
_flightVideo
target
:
_flightVideo
parent
:
_mapAndVideo
parent
:
_mapAndVideo
}
}
PropertyChanges
{
PropertyChanges
{
target
:
_flightVideoPipControl
target
:
_flightVideoPipControl
inPopup
:
false
inPopup
:
false
}
}
}
}
]
]
...
...
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