Updated profile settings icon color. Fixes #1731

This commit is contained in:
staked-smart-ace 2021-01-22 20:05:22 +04:00 committed by Iuri Matias
parent 492fcc2dcd
commit 062c2e26b2
1 changed files with 7 additions and 12 deletions

View File

@ -20,26 +20,21 @@ Rectangle {
width: parent.width width: parent.width
radius: Style.current.radius radius: Style.current.radius
Item { Image {
id: iconImage id: iconImage
height: 24 height: 24
width: 24 width: 24
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: Style.current.padding anchors.leftMargin: Style.current.padding
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
source: menuButton.source
Image { sourceSize: Qt.size(width, height)
id: iconSrc fillMode: Image.PreserveAspectFit
source: menuButton.source smooth: true
sourceSize: Qt.size(parent.width, parent.height)
fillMode: Image.PreserveAspectFit
smooth: true
visible: false
}
ColorOverlay { ColorOverlay {
anchors.fill: iconSrc anchors.fill: parent
source: iconSrc source: parent
color: Style.current.blue color: Style.current.blue
} }
} }