Image {
id: _close
source: "qrc:/image/close.svg"
anchors.top: parent.top
anchors.topMargin: 15
anchors.right: parent.right
anchors.rightMargin: 25
width: 11.2
height: 10.8
ColorOverlay{
anchors.fill: _close
source: _close
color: themeColor
}
}
//这里就是修改close的颜色为主题色
qml修改图片的颜色
猜你喜欢
转载自blog.csdn.net/sono_io/article/details/115163014#comments_21365776
今日推荐
周排行