Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
bffdc8d0
Unverified
Commit
bffdc8d0
authored
Nov 11, 2019
by
Don Gagne
Committed by
GitHub
Nov 11, 2019
Browse files
Merge pull request #7988 from DonLakeFlyer/GearIcon
Instrument PageView: Palette based coloring for gear icon
parents
c21c5c24
4cfe5042
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/PageView.qml
View file @
bffdc8d0
...
...
@@ -29,14 +29,16 @@ Rectangle {
centeredLabel
:
true
font.pointSize
:
ScreenTools
.
smallFontPointSize
Image
{
QGCColored
Image
{
anchors.leftMargin
:
_margins
anchors.left
:
parent
.
left
anchors.verticalCenter
:
parent
.
verticalCenter
source
:
"
/res/gear-black.svg
"
mipmap
:
true
width
:
parent
.
height
-
(
_margins
*
2
)
sourceSize.width
:
width
height
:
parent
.
height
*
0.7
width
:
height
sourceSize.height
:
height
color
:
qgcPal
.
text
fillMode
:
Image
.
PreserveAspectFit
visible
:
pageWidgetLoader
.
item
?
(
pageWidgetLoader
.
item
.
showSettingsIcon
?
pageWidgetLoader
.
item
.
showSettingsIcon
:
false
)
:
false
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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