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
967f0e94
Commit
967f0e94
authored
Apr 09, 2017
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix binding loops
parent
b8c17cdb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
23 deletions
+18
-23
MissionItemIndexLabel.qml
src/QmlControls/MissionItemIndexLabel.qml
+18
-23
No files found.
src/QmlControls/MissionItemIndexLabel.qml
View file @
967f0e94
import
QtQuick
2.3
import
QtQuick
.
Controls
1.2
import
QtQuick
.
Controls
.
Styles
1.4
import
QGroundControl
.
ScreenTools
1.0
import
QGroundControl
.
Palette
1.0
...
...
@@ -69,12 +68,9 @@ Canvas {
Rectangle
{
id
:
labelControl
anchors.leftMargin
:
-
_labelMargin
anchors.topMargin
:
-
_labelMargin
anchors.left
:
indicator
.
left
anchors.top
:
indicator
.
top
height
:
_labelRadius
*
2
width
:
labelControlLabel
.
contentWidth
+
(
_labelMargin
*
3
)
+
indicator
.
width
anchors.leftMargin
:
-
((
_labelMargin
*
2
)
+
indicator
.
width
)
anchors.rightMargin
:
-
(
_labelMargin
*
2
)
anchors.fill
:
labelControlLabel
color
:
"
white
"
opacity
:
0.5
radius
:
_labelRadius
...
...
@@ -83,17 +79,16 @@ Canvas {
QGCLabel
{
id
:
labelControlLabel
anchors.leftMargin
:
indicator
.
width
+
_labelMargin
anchors.left
:
labelControl
.
left
anchors.rightMargin
:
_labelMargin
anchors.right
:
labelControl
.
right
anchors.top
:
labelControl
.
top
anchors.bottom
:
labelControl
.
bottom
verticalAlignment
:
Text
.
AlignVCenter
anchors.topMargin
:
-
_labelMargin
anchors.bottomMargin
:
-
_labelMargin
anchors.leftMargin
:
_labelMargin
anchors.left
:
indicator
.
right
anchors.top
:
indicator
.
top
anchors.bottom
:
indicator
.
bottom
color
:
"
white
"
font.pointSize
:
ScreenTools
.
defaultFontPointSize
fontSizeMode
:
Text
.
HorizontalFit
text
:
_label
verticalAlignment
:
Text
.
AlignVCenter
visible
:
labelControl
.
visible
}
Rectangle
{
...
...
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